From dbf11f61c48cb0bdc9c31d997103314ebded86ca Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 12 May 2023 19:02:10 +0000 Subject: Bob points out that one error should be an X509V3error() --- src/lib/libcrypto/x509/x509_utl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/x509/x509_utl.c b/src/lib/libcrypto/x509/x509_utl.c index 78edd67a44..14b43e8b6c 100644 --- a/src/lib/libcrypto/x509/x509_utl.c +++ b/src/lib/libcrypto/x509/x509_utl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_utl.c,v 1.16 2023/05/12 18:39:44 tb Exp $ */ +/* $OpenBSD: x509_utl.c,v 1.17 2023/05/12 19:02:10 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ @@ -580,7 +580,7 @@ string_to_hex(const char *str, long *len) if (!x509_get_xdigit_nibble_cbs(&cbs, &hi)) goto err; if (CBS_len(&cbs) == 0) { - X509error(X509V3_R_ODD_NUMBER_OF_DIGITS); + X509V3error(X509V3_R_ODD_NUMBER_OF_DIGITS); goto err; } if (!x509_get_xdigit_nibble_cbs(&cbs, &lo)) -- cgit v1.2.3-55-g6feb