diff options
author | Matt Caswell <matt@openssl.org> | 2016-06-27 11:28:29 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-06-27 11:28:29 +0100 |
commit | 1aca3618ff86358c659c856b10e2270c3d4230d2 (patch) | |
tree | e311e232a5996b68f50fa04a0108270cea868f13 /include | |
parent | cd359b2564b77230a1201a200683dac622c923af (diff) |
Fix some OPENSSL_API_COMPAT values
There are 3 OPENSSL_API_COMPAT values that are incorrect in the header
files, and one inconsistency between the header and the .c
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/bn.h | 2 | ||||
-rw-r--r-- | include/openssl/idea.h | 2 | ||||
-rw-r--r-- | include/openssl/x509v3.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/openssl/bn.h b/include/openssl/bn.h index e0f656a67b..82552b6e84 100644 --- a/include/openssl/bn.h +++ b/include/openssl/bn.h @@ -469,7 +469,7 @@ BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn); BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn); BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn); -# if OPENSSL_API_COMPAT < 0x00101000L +# if OPENSSL_API_COMPAT < 0x10100000L # define get_rfc2409_prime_768 BN_get_rfc2409_prime_768 # define get_rfc2409_prime_1024 BN_get_rfc2409_prime_1024 # define get_rfc3526_prime_1536 BN_get_rfc3526_prime_1536 diff --git a/include/openssl/idea.h b/include/openssl/idea.h index d527675614..4334f3ea71 100644 --- a/include/openssl/idea.h +++ b/include/openssl/idea.h @@ -45,7 +45,7 @@ void IDEA_ofb64_encrypt(const unsigned char *in, unsigned char *out, int *num); void IDEA_encrypt(unsigned long *in, IDEA_KEY_SCHEDULE *ks); -# if OPENSSL_API_COMPAT < 0x00101000L +# if OPENSSL_API_COMPAT < 0x10100000L # define idea_options IDEA_options # define idea_ecb_encrypt IDEA_ecb_encrypt # define idea_set_encrypt_key IDEA_set_encrypt_key diff --git a/include/openssl/x509v3.h b/include/openssl/x509v3.h index 36d11a7776..29b7194f26 100644 --- a/include/openssl/x509v3.h +++ b/include/openssl/x509v3.h @@ -631,7 +631,7 @@ X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc); int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, int crit, unsigned long flags); -#if OPENSSL_API_COMPAT < 0x00101000L +#if OPENSSL_API_COMPAT < 0x10100000L /* The new declarations are in crypto.h, but the old ones were here. */ # define hex_to_string OPENSSL_buf2hexstr # define string_to_hex OPENSSL_hexstr2buf |