diff options
author | anton <> | 2022-07-05 04:49:02 +0000 |
---|---|---|
committer | anton <> | 2022-07-05 04:49:02 +0000 |
commit | c65835fcf77896b213187bb805bbc0970ad4ad99 (patch) | |
tree | 971d1bc3079b3b34e567faf6c4dcc17f412d5834 /src | |
parent | ecbc1a6b4599b214a592ae89efbbe4bb6f587c12 (diff) | |
download | openbsd-c65835fcf77896b213187bb805bbc0970ad4ad99.tar.gz openbsd-c65835fcf77896b213187bb805bbc0970ad4ad99.tar.bz2 openbsd-c65835fcf77896b213187bb805bbc0970ad4ad99.zip |
cope with ASN1_TIME_set_string_X509() rename
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/asn1/asn1time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/asn1/asn1time.c b/src/regress/lib/libcrypto/asn1/asn1time.c index 6709e7af4a..266ab99411 100644 --- a/src/regress/lib/libcrypto/asn1/asn1time.c +++ b/src/regress/lib/libcrypto/asn1/asn1time.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1time.c,v 1.13 2022/06/30 09:13:49 beck Exp $ */ | 1 | /* $OpenBSD: asn1time.c,v 1.14 2022/07/05 04:49:02 anton Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -265,7 +265,7 @@ asn1_invtime_test(int test_no, struct asn1_time_test *att, int gen) | |||
265 | "string '%s'\n", test_no, att->str); | 265 | "string '%s'\n", test_no, att->str); |
266 | goto done; | 266 | goto done; |
267 | } | 267 | } |
268 | if (ASN1_TIME_set_string_x509(t, att->str) != 0) { | 268 | if (ASN1_TIME_set_string_X509(t, att->str) != 0) { |
269 | fprintf(stderr, "FAIL: test %i - successfully set x509 TIME " | 269 | fprintf(stderr, "FAIL: test %i - successfully set x509 TIME " |
270 | "string '%s'\n", test_no, att->str); | 270 | "string '%s'\n", test_no, att->str); |
271 | goto done; | 271 | goto done; |
@@ -459,7 +459,7 @@ asn1_time_test(int test_no, struct asn1_time_test *att, int type) | |||
459 | goto done; | 459 | goto done; |
460 | } | 460 | } |
461 | 461 | ||
462 | if (ASN1_TIME_set_string_x509(tx509, t->data) != 1) { | 462 | if (ASN1_TIME_set_string_X509(tx509, t->data) != 1) { |
463 | fprintf(stderr, "FAIL: test %i - failed to set string X509 '%s'\n", | 463 | fprintf(stderr, "FAIL: test %i - failed to set string X509 '%s'\n", |
464 | test_no, t->data); | 464 | test_no, t->data); |
465 | goto done; | 465 | goto done; |