diff options
author | Richard Levitte <levitte@openssl.org> | 2018-09-27 15:40:03 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-12-06 12:24:47 +0100 |
commit | 672f943ad6c6d16b1f65a77b8e2c83c8f44a112b (patch) | |
tree | 3fb5956fe778bde98cf81b1f9c43cd3b6d79eff5 /test | |
parent | 2284f64c871c2f7611678dba6eadd1989cee9981 (diff) | |
download | openssl-new-672f943ad6c6d16b1f65a77b8e2c83c8f44a112b.tar.gz |
Switch future deprecation version from 1.2.0 to 3.0
This is in preparation for a switch to MAJOR.MINOR.PATCH versioning
and calling the next major version 3.0.0.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7724)
Diffstat (limited to 'test')
-rw-r--r-- | test/asn1_decode_test.c | 4 | ||||
-rw-r--r-- | test/asn1_encode_test.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/asn1_decode_test.c b/test/asn1_decode_test.c index 369023d5f1..b48b9b57bc 100644 --- a/test/asn1_decode_test.c +++ b/test/asn1_decode_test.c @@ -28,7 +28,7 @@ static unsigned char t_invalid_zero[] = { 0x02, 0x00 /* INTEGER tag + length */ }; -#if OPENSSL_API_COMPAT < 0x10200000L +#if OPENSSL_API_COMPAT < 0x30000000L /* LONG case ************************************************************* */ typedef struct { @@ -162,7 +162,7 @@ static int test_uint64(void) int setup_tests(void) { -#if OPENSSL_API_COMPAT < 0x10200000L +#if OPENSSL_API_COMPAT < 0x30000000L ADD_TEST(test_long); #endif ADD_TEST(test_int32); diff --git a/test/asn1_encode_test.c b/test/asn1_encode_test.c index 6a64bf904b..4c4820e592 100644 --- a/test/asn1_encode_test.c +++ b/test/asn1_encode_test.c @@ -179,7 +179,7 @@ typedef struct { ENCDEC_DATA(-1, -1), \ ENCDEC_DATA(0, ASN1_LONG_UNDEF) -#if OPENSSL_API_COMPAT < 0x10200000L +#if OPENSSL_API_COMPAT < 0x30000000L /***** LONG ******************************************************************/ typedef struct { @@ -824,7 +824,7 @@ static int test_intern(const TEST_PACKAGE *package) return fail == 0; } -#if OPENSSL_API_COMPAT < 0x10200000L +#if OPENSSL_API_COMPAT < 0x30000000L static int test_long_32bit(void) { return test_intern(&long_test_package_32bit); @@ -858,7 +858,7 @@ static int test_uint64(void) int setup_tests(void) { -#if OPENSSL_API_COMPAT < 0x10200000L +#if OPENSSL_API_COMPAT < 0x30000000L ADD_TEST(test_long_32bit); ADD_TEST(test_long_64bit); #endif |