projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix another possible crash in rsa_ossl_mod_exp.
[oweals/openssl.git]
/
crypto
/
rsa
/
rsa_ameth.c
diff --git
a/crypto/rsa/rsa_ameth.c
b/crypto/rsa/rsa_ameth.c
index d55cf330b9a2230b59d1c8b55baf9a7a78e635a6..5694140af82429d10af28979b43853668456219a 100644
(file)
--- a/
crypto/rsa/rsa_ameth.c
+++ b/
crypto/rsa/rsa_ameth.c
@@
-101,7
+101,7
@@
static int rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey)
return 1;
}
-static int rsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8)
+static int rsa_priv_decode(EVP_PKEY *pkey,
const
PKCS8_PRIV_KEY_INFO *p8)
{
const unsigned char *p;
int pklen;