projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent calling decryption in an encryption context and vice versa
[oweals/openssl.git]
/
crypto
/
evp
/
p_dec.c
diff --git
a/crypto/evp/p_dec.c
b/crypto/evp/p_dec.c
index 6171bb977e4c826f0c6c0960a5423b7edc8664dd..a150a26e092c70588af85792dab9f618b465da31 100644
(file)
--- a/
crypto/evp/p_dec.c
+++ b/
crypto/evp/p_dec.c
@@
-9,7
+9,6
@@
#include <stdio.h>
#include "internal/cryptlib.h"
-#include <openssl/rand.h>
#include <openssl/rsa.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
@@
-33,5
+32,5
@@
int EVP_PKEY_decrypt_old(unsigned char *key, const unsigned char *ek, int ekl,
RSA_PKCS1_PADDING);
err:
#endif
- return
(ret)
;
+ return
ret
;
}