summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_utl.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* $OpenBSD: x509_utl.c,v 1.16 2023/05/12 18:39:44 tb Exp $ */ 1/* $OpenBSD: x509_utl.c,v 1.17 2023/05/12 19:02:10 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -580,7 +580,7 @@ string_to_hex(const char *str, long *len)
580 if (!x509_get_xdigit_nibble_cbs(&cbs, &hi)) 580 if (!x509_get_xdigit_nibble_cbs(&cbs, &hi))
581 goto err; 581 goto err;
582 if (CBS_len(&cbs) == 0) { 582 if (CBS_len(&cbs) == 0) {
583 X509error(X509V3_R_ODD_NUMBER_OF_DIGITS); 583 X509V3error(X509V3_R_ODD_NUMBER_OF_DIGITS);
584 goto err; 584 goto err;
585 } 585 }
586 if (!x509_get_xdigit_nibble_cbs(&cbs, &lo)) 586 if (!x509_get_xdigit_nibble_cbs(&cbs, &lo))