From 025fffe4c6e0113862ce4e1927e67517a2841502 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 12 May 2023 19:02:10 +0000 Subject: [PATCH] Bob points out that one error should be an X509V3error() --- lib/libcrypto/x509/x509_utl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/x509/x509_utl.c b/lib/libcrypto/x509/x509_utl.c index 78edd67a443..14b43e8b6cc 100644 --- a/lib/libcrypto/x509/x509_utl.c +++ b/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)) -- 2.20.1