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 | |
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')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_asn1.c | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_asn1.c | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_asn1.c b/src/lib/libcrypto/dsa/dsa_asn1.c index f6c66cecde..70a826ca95 100644 --- a/src/lib/libcrypto/dsa/dsa_asn1.c +++ b/src/lib/libcrypto/dsa/dsa_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_asn1.c,v 1.29 2023/03/07 09:27:10 jsing Exp $ */ | 1 | /* $OpenBSD: dsa_asn1.c,v 1.30 2023/03/25 09:09:28 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 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -61,6 +61,7 @@ | |||
61 | 61 | ||
62 | #include <openssl/asn1.h> | 62 | #include <openssl/asn1.h> |
63 | #include <openssl/asn1t.h> | 63 | #include <openssl/asn1t.h> |
64 | #include <openssl/bn.h> | ||
64 | #include <openssl/dsa.h> | 65 | #include <openssl/dsa.h> |
65 | #include <openssl/err.h> | 66 | #include <openssl/err.h> |
66 | 67 | ||
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 | { |