From 17feaa7543db9dd9d93e2377a71216c128e6352f Mon Sep 17 00:00:00 2001 From: job Date: Mon, 5 Jun 2023 18:32:06 +0000 Subject: [PATCH] Fix copy+paste error in x509 asn regress --- regress/lib/libcrypto/x509/x509_asn1.c | 6 +++--- 1 file 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 * @@ -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); -- 2.20.1