diff options
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_oaep.c')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_oaep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_oaep.c b/src/lib/libcrypto/rsa/rsa_oaep.c index 09799818d3..9be0f9be31 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.22 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: rsa_oaep.c,v 1.23 2014/07/11 08:44:49 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 | ||
@@ -24,11 +24,12 @@ | |||
24 | #include <openssl/opensslconf.h> | 24 | #include <openssl/opensslconf.h> |
25 | 25 | ||
26 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA1) | 26 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA1) |
27 | #include "cryptlib.h" | 27 | |
28 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
29 | #include <openssl/rsa.h> | 29 | #include <openssl/err.h> |
30 | #include <openssl/evp.h> | 30 | #include <openssl/evp.h> |
31 | #include <openssl/rand.h> | 31 | #include <openssl/rand.h> |
32 | #include <openssl/rsa.h> | ||
32 | #include <openssl/sha.h> | 33 | #include <openssl/sha.h> |
33 | 34 | ||
34 | static int MGF1(unsigned char *mask, long len, const unsigned char *seed, | 35 | static int MGF1(unsigned char *mask, long len, const unsigned char *seed, |