]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-dcrypt: Use correct variables names in RSA_set0_key
authorAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 29 Aug 2019 09:25:07 +0000 (12:25 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 29 Aug 2019 09:26:27 +0000 (12:26 +0300)
Broken in 79e9ccdc4a536f3881ec2b9304020514d1f92590

src/lib-dcrypt/dcrypt-openssl.c

index 5932cf12de4893d6c8bc505a930f83c074485c57..0599413fda58835dea8975756e8d5f75a9f482f0 100644 (file)
@@ -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