diff options
author | tb <> | 2023-03-25 09:09:28 +0000 |
---|---|---|
committer | tb <> | 2023-03-25 09:09:28 +0000 |
commit | 28454ed747063b6a3018cbbbb047dd6d5eb6eff9 (patch) | |
tree | 6fad579477b0e8d443c21590407a31930cbfd06f /src/lib/libcrypto/ecdsa | |
parent | 6e32682cd23d49bbf50a502d3485ff85a3faf494 (diff) | |
download | openbsd-28454ed747063b6a3018cbbbb047dd6d5eb6eff9.tar.gz openbsd-28454ed747063b6a3018cbbbb047dd6d5eb6eff9.tar.bz2 openbsd-28454ed747063b6a3018cbbbb047dd6d5eb6eff9.zip |
BN_free() is defined in <openssl/bn.h>
This is currently pulled in via dsa.h and ecdsa.h, but only when
OPENSSL_NO_DEPRECATED is not defined. We should fix this in the
public header, too - let's wait a bit with that.
Diffstat (limited to 'src/lib/libcrypto/ecdsa')
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_asn1.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_asn1.c b/src/lib/libcrypto/ecdsa/ecs_asn1.c index 9db114a2d1..916220f97d 100644 --- a/src/lib/libcrypto/ecdsa/ecs_asn1.c +++ b/src/lib/libcrypto/ecdsa/ecs_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_asn1.c,v 1.13 2023/03/07 09:27:10 jsing Exp $ */ | 1 | /* $OpenBSD: ecs_asn1.c,v 1.14 2023/03/25 09:09:28 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -53,9 +53,11 @@ | |||
53 | * | 53 | * |
54 | */ | 54 | */ |
55 | 55 | ||
56 | #include "ecs_local.h" | ||
57 | #include <openssl/err.h> | ||
58 | #include <openssl/asn1t.h> | 56 | #include <openssl/asn1t.h> |
57 | #include <openssl/bn.h> | ||
58 | #include <openssl/err.h> | ||
59 | |||
60 | #include "ecs_local.h" | ||
59 | 61 | ||
60 | static const ASN1_TEMPLATE ECDSA_SIG_seq_tt[] = { | 62 | static const ASN1_TEMPLATE ECDSA_SIG_seq_tt[] = { |
61 | { | 63 | { |