summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-05-12 19:02:11 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-05-12 19:02:11 +0000
commit04f40260759e5688ee4d88fa8f37bfc5546aaf61 (patch)
treee75c74e5b796dbb3a41deb9bfd82d0c6b184040f /lib
parent4303ba07cdbac1a1fe6c7ba48551a79cef92c990 (diff)
Bob points out that one error should be an X509V3error()
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/x509/x509_utl.c4
1 files 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))