From c65835fcf77896b213187bb805bbc0970ad4ad99 Mon Sep 17 00:00:00 2001 From: anton <> Date: Tue, 5 Jul 2022 04:49:02 +0000 Subject: cope with ASN1_TIME_set_string_X509() rename --- src/regress/lib/libcrypto/asn1/asn1time.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: asn1time.c,v 1.13 2022/06/30 09:13:49 beck Exp $ */ +/* $OpenBSD: asn1time.c,v 1.14 2022/07/05 04:49:02 anton Exp $ */ /* * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> * @@ -265,7 +265,7 @@ asn1_invtime_test(int test_no, struct asn1_time_test *att, int gen) "string '%s'\n", test_no, att->str); goto done; } - if (ASN1_TIME_set_string_x509(t, att->str) != 0) { + if (ASN1_TIME_set_string_X509(t, att->str) != 0) { fprintf(stderr, "FAIL: test %i - successfully set x509 TIME " "string '%s'\n", test_no, att->str); goto done; @@ -459,7 +459,7 @@ asn1_time_test(int test_no, struct asn1_time_test *att, int type) goto done; } - if (ASN1_TIME_set_string_x509(tx509, t->data) != 1) { + if (ASN1_TIME_set_string_X509(tx509, t->data) != 1) { fprintf(stderr, "FAIL: test %i - failed to set string X509 '%s'\n", test_no, t->data); goto done; -- cgit v1.2.3-55-g6feb