diff options
author | tb <> | 2022-01-27 20:30:29 +0000 |
---|---|---|
committer | tb <> | 2022-01-27 20:30:29 +0000 |
commit | 31c33b1758ab304a02922d8ac690d0196300bf71 (patch) | |
tree | ae884383236f4f874fa3ac3fa5b66181c55a3ecb /src | |
parent | ef4163c71022252622690ad2766dde306d040571 (diff) | |
download | openbsd-31c33b1758ab304a02922d8ac690d0196300bf71.tar.gz openbsd-31c33b1758ab304a02922d8ac690d0196300bf71.tar.bz2 openbsd-31c33b1758ab304a02922d8ac690d0196300bf71.zip |
Do not depend on engine.h pulling in err.h and evp.h
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_sign.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_vrf.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_sign.c b/src/lib/libcrypto/ecdsa/ecs_sign.c index 54c99638da..6424a3ca60 100644 --- a/src/lib/libcrypto/ecdsa/ecs_sign.c +++ b/src/lib/libcrypto/ecdsa/ecs_sign.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_sign.c,v 1.8 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: ecs_sign.c,v 1.9 2022/01/27 20:30:29 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -58,6 +58,8 @@ | |||
58 | #ifndef OPENSSL_NO_ENGINE | 58 | #ifndef OPENSSL_NO_ENGINE |
59 | #include <openssl/engine.h> | 59 | #include <openssl/engine.h> |
60 | #endif | 60 | #endif |
61 | #include <openssl/err.h> | ||
62 | #include <openssl/evp.h> | ||
61 | 63 | ||
62 | #include "bn_lcl.h" | 64 | #include "bn_lcl.h" |
63 | #include "ecs_locl.h" | 65 | #include "ecs_locl.h" |
diff --git a/src/lib/libcrypto/ecdsa/ecs_vrf.c b/src/lib/libcrypto/ecdsa/ecs_vrf.c index def130cf5c..7db5a937f2 100644 --- a/src/lib/libcrypto/ecdsa/ecs_vrf.c +++ b/src/lib/libcrypto/ecdsa/ecs_vrf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecs_vrf.c,v 1.8 2021/12/04 16:08:32 tb Exp $ */ | 1 | /* $OpenBSD: ecs_vrf.c,v 1.9 2022/01/27 20:30:29 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project | 3 | * Written by Nils Larsch for the OpenSSL project |
4 | */ | 4 | */ |
@@ -58,13 +58,15 @@ | |||
58 | 58 | ||
59 | #include <openssl/opensslconf.h> | 59 | #include <openssl/opensslconf.h> |
60 | 60 | ||
61 | #include "bn_lcl.h" | ||
62 | #include "ecs_locl.h" | ||
63 | #include "ec_lcl.h" | ||
64 | |||
65 | #ifndef OPENSSL_NO_ENGINE | 61 | #ifndef OPENSSL_NO_ENGINE |
66 | #include <openssl/engine.h> | 62 | #include <openssl/engine.h> |
67 | #endif | 63 | #endif |
64 | #include <openssl/err.h> | ||
65 | #include <openssl/evp.h> | ||
66 | |||
67 | #include "bn_lcl.h" | ||
68 | #include "ecs_locl.h" | ||
69 | #include "ec_lcl.h" | ||
68 | 70 | ||
69 | /* returns | 71 | /* returns |
70 | * 1: correct signature | 72 | * 1: correct signature |