From: Aki Tuomi Date: Thu, 29 Aug 2019 09:25:07 +0000 (+0300) Subject: lib-dcrypt: Use correct variables names in RSA_set0_key X-Git-Tag: 2.3.9~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79f083e24e514f7e375b2bd724d32c3770564b32;p=thirdparty%2Fdovecot%2Fcore.git lib-dcrypt: Use correct variables names in RSA_set0_key Broken in 79e9ccdc4a536f3881ec2b9304020514d1f92590 --- diff --git a/src/lib-dcrypt/dcrypt-openssl.c b/src/lib-dcrypt/dcrypt-openssl.c index 5932cf12de..0599413fda 100644 --- a/src/lib-dcrypt/dcrypt-openssl.c +++ b/src/lib-dcrypt/dcrypt-openssl.c @@ -1612,9 +1612,9 @@ static int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) RSAerr(0, ERR_R_PASSED_NULL_PARAMETER); return 0; } - r->n = pn; - r->e = pe; - r->d = pd; + r->n = n; + r->e = e; + r->d = d; return 1; } #endif