diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-02-17 08:21:28 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-02-17 08:21:28 +0000 |
commit | 522fccc3f07cb80b1a7719eefe26befbe067c7c6 (patch) | |
tree | 5d66803931b1bf80fcfec68086d227c9dddf7986 /crypto.h | |
parent | Cleanup IP address for persistence interfaces for tap and also using (diff) | |
download | openvpn-522fccc3f07cb80b1a7719eefe26befbe067c7c6.tar.xz |
The new function extract_x509_field_ssl tends to break
in early versions of OpenSSL 0.9.6. Now we will fall
back to the old function extract_x509_field for OpenSSL
0.9.6.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2749 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -69,6 +69,9 @@ #if SSLEAY_VERSION_NUMBER < 0x00907000L +/* Workaround: OpenSSL 0.9.6 breaks extract_x509_field_ssl function */ +#define USE_OLD_EXTRACT_X509_FIELD + /* Workaround: EVP_CIPHER_mode is defined wrong in OpenSSL 0.9.6 but is fixed in 0.9.7 */ #undef EVP_CIPHER_mode #define EVP_CIPHER_mode(e) (((e)->flags) & EVP_CIPH_MODE) |