aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regcomp.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-07-10 13:54:34 +0000
committerBruce Momjian <bruce@momjian.us>2005-07-10 13:54:34 +0000
commitd51df918970bcf42f915a3882bfdee5972aa9bad (patch)
tree383a0103adcc758454bf82e36e150972b0509d50 /src/backend/regex/regcomp.c
parente94dd6ab9100961511e3407fea9e5b191dec7165 (diff)
downloadpostgresql-d51df918970bcf42f915a3882bfdee5972aa9bad.tar.gz
postgresql-d51df918970bcf42f915a3882bfdee5972aa9bad.zip
As Kris Jurka found out, pgcrypto does not work with
OpenSSL 0.9.6x. The DES functions use the older 'des_' API, but the newer 3DES functions use the 0.9.7x-only 'DES_' API. I think I just used /usr/include/openssl/des.h for reference when implementing them, and had upgraded OpenSSL in the meantime. Following patch converts DES also to newer API and provides compatibility functions for OpenSSL < 0.9.7. I chose this route because: - openssl.c uses few DES functions. - compatibility for old 'des_' API is going away at some point of time from OpenSSL. - as seen from macros, new API is saner - Thus pgcrypto supports any OpenSSL version from 0.9.5 to 1.0 Tested with OpenSSL 0.9.6c and 0.9.7e. Marko Kreen
Diffstat (limited to 'src/backend/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions