summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/bn/bn_convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_convert.c b/src/lib/libcrypto/bn/bn_convert.c
index 1a3abbc603..0dbe20046b 100644
--- a/src/lib/libcrypto/bn/bn_convert.c
+++ b/src/lib/libcrypto/bn/bn_convert.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_convert.c,v 1.9 2023/05/28 10:34:17 jsing Exp $ */ 1/* $OpenBSD: bn_convert.c,v 1.10 2023/06/23 10:31:27 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -281,7 +281,7 @@ BN_asc2bn(BIGNUM **bnp, const char *s)
281 return 0; 281 return 0;
282 } 282 }
283 283
284 /* Try parsing as hexidecimal with a 0x prefix. */ 284 /* Try parsing as hexadecimal with a 0x prefix. */
285 CBS_dup(&cbs, &cbs_hex); 285 CBS_dup(&cbs, &cbs_hex);
286 if (!CBS_get_u8(&cbs_hex, &v)) 286 if (!CBS_get_u8(&cbs_hex, &v))
287 goto decimal; 287 goto decimal;