diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-28 15:20:52 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-29 09:20:13 +0100 |
commit | b375f08145d78479674580042614c9e770b011dd (patch) | |
tree | d382add462c6f80253aff0f8548dfef05255b8c0 | |
parent | 6f137370dd52c11ecfd73a2dd7a07a52b8435891 (diff) |
A call to RSA_set0_key had the arguments in the wrong order
Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r-- | crypto/pem/pvkfmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pem/pvkfmt.c b/crypto/pem/pvkfmt.c index dc9008809b..86d5921bf4 100644 --- a/crypto/pem/pvkfmt.c +++ b/crypto/pem/pvkfmt.c @@ -388,7 +388,7 @@ static EVP_PKEY *b2i_rsa(const unsigned char **in, RSA_set0_factors(rsa, p, q); RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp); } - RSA_set0_key(rsa, e, n, d); + RSA_set0_key(rsa, n, e, d); EVP_PKEY_set1_RSA(ret, rsa); RSA_free(rsa); |