summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2023-06-05 18:32:07 +0000
committerJob Snijders <job@cvs.openbsd.org>2023-06-05 18:32:07 +0000
commitf9b3fc0e3c6de23dac292f7db2f6d4cb1dcaef5a (patch)
tree1f3ec36125372733536eba50a74c26c2964c5f4e
parentff20cc9bc22a2b44e464506314f1a521c4950d32 (diff)
Fix copy+paste error in x509 asn regress
-rw-r--r--regress/lib/libcrypto/x509/x509_asn1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/x509/x509_asn1.c b/regress/lib/libcrypto/x509/x509_asn1.c
index 4c038c9bbf4..c7753623f3b 100644
--- a/regress/lib/libcrypto/x509/x509_asn1.c
+++ b/regress/lib/libcrypto/x509/x509_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_asn1.c,v 1.19 2023/05/29 11:54:50 beck Exp $ */
+/* $OpenBSD: x509_asn1.c,v 1.20 2023/06/05 18:32:06 job Exp $ */
/*
* Copyright (c) 2023 Job Snijders <job@openbsd.org>
*
@@ -362,13 +362,13 @@ test_x509_crl_setters(void)
/* test X509_CRL_set_lastUpdate */
x509_crl_setup(&der, &der2, &ac, dersz, &der2sz);
x509_crl_set_time(X509_CRL_set_lastUpdate, &ac, 120);
- failed |= x509_crl_compare("X509_set_notBefore", ac, der2, der2sz);
+ failed |= x509_crl_compare("X509_CRL_set_lastUpdate", ac, der2, der2sz);
x509_crl_cleanup(&ac, &der2);
/* test X509_CRL_set_nextUpdate */
x509_crl_setup(&der, &der2, &ac, dersz, &der2sz);
x509_crl_set_time(X509_CRL_set_nextUpdate, &ac, 180);
- failed |= x509_crl_compare("X509_set_notAfter", ac, der2, der2sz);
+ failed |= x509_crl_compare("X509_CRL_set_nextUpdate", ac, der2, der2sz);
x509_crl_cleanup(&ac, &der2);
EVP_PKEY_free(pkey);