diff options
-rw-r--r-- | src/lib/libcrypto/bn/bn_convert.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_convert.c b/src/lib/libcrypto/bn/bn_convert.c index 7c5ba85305..d509a86c08 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.20 2024/04/17 14:47:17 jsing Exp $ */ | 1 | /* $OpenBSD: bn_convert.c,v 1.21 2024/04/17 21:55:43 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 | * |
@@ -736,7 +736,6 @@ BN_mpi2bn(const unsigned char *d, int n, BIGNUM *bn_in) | |||
736 | if (!CBS_get_u32(&cbs, &mpi_len)) { | 736 | if (!CBS_get_u32(&cbs, &mpi_len)) { |
737 | BNerror(BN_R_INVALID_LENGTH); | 737 | BNerror(BN_R_INVALID_LENGTH); |
738 | return NULL; | 738 | return NULL; |
739 | |||
740 | } | 739 | } |
741 | if (CBS_len(&cbs) != mpi_len) { | 740 | if (CBS_len(&cbs) != mpi_len) { |
742 | BNerror(BN_R_ENCODING_ERROR); | 741 | BNerror(BN_R_ENCODING_ERROR); |