diff options
| author | jsing <> | 2014-07-10 13:58:23 +0000 |
|---|---|---|
| committer | jsing <> | 2014-07-10 13:58:23 +0000 |
| commit | c917c683bc93c68fbf4310ac181f7906e76b3c94 (patch) | |
| tree | 520bd0eaa8855b175013ab92f4175f47f1099115 /src/lib/libcrypto/rsa/rsa_oaep.c | |
| parent | 4813174951b534ca1bff04557cea82aa2dfc8c6d (diff) | |
| download | openbsd-c917c683bc93c68fbf4310ac181f7906e76b3c94.tar.gz openbsd-c917c683bc93c68fbf4310ac181f7906e76b3c94.tar.bz2 openbsd-c917c683bc93c68fbf4310ac181f7906e76b3c94.zip | |
Stop including standard headers via cryptlib.h - pull in the headers that
are needed in the source files that actually require them.
ok beck@ miod@
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_oaep.c')
| -rw-r--r-- | src/lib/libcrypto/rsa/rsa_oaep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_oaep.c b/src/lib/libcrypto/rsa/rsa_oaep.c index 38ba76b90a..893fbc04b8 100644 --- a/src/lib/libcrypto/rsa/rsa_oaep.c +++ b/src/lib/libcrypto/rsa/rsa_oaep.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rsa_oaep.c,v 1.20 2014/07/10 11:25:13 tedu Exp $ */ | 1 | /* $OpenBSD: rsa_oaep.c,v 1.21 2014/07/10 13:58:23 jsing Exp $ */ |
| 2 | /* Written by Ulf Moeller. This software is distributed on an "AS IS" | 2 | /* Written by Ulf Moeller. This software is distributed on an "AS IS" |
| 3 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. */ | 3 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. */ |
| 4 | 4 | ||
| @@ -18,9 +18,10 @@ | |||
| 18 | * an equivalent notion. | 18 | * an equivalent notion. |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <stdio.h> | ||
| 22 | #include <string.h> | ||
| 21 | 23 | ||
| 22 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA1) | 24 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA1) |
| 23 | #include <stdio.h> | ||
| 24 | #include "cryptlib.h" | 25 | #include "cryptlib.h" |
| 25 | #include <openssl/bn.h> | 26 | #include <openssl/bn.h> |
| 26 | #include <openssl/rsa.h> | 27 | #include <openssl/rsa.h> |
