X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=crypto%2Frsa%2Frsa_eay.c;h=21755c0e2fc5959461321b1414eb4ef143026a5d;hb=8afca8d9c60c3d7db6f9bc94a97c77f016fc139d;hp=738ea0be71c3f932f1cc5811dfac32b6fb52e805;hpb=35e8510e60ef0b033b304289db28a3cb19c6cbdd;p=openssl.git diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index 738ea0be71..21755c0e2f 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -400,7 +400,7 @@ static int RSA_eay_private_decrypt(int flen, const unsigned char *from, blinding = rsa_get_blinding(rsa, &br, &local_blinding, ctx); if (blinding == NULL) { - RSAerr(RSA_F_RSA_EAY_PRIVATE_ENCRYPT, ERR_R_INTERNAL_ERROR); + RSAerr(RSA_F_RSA_EAY_PRIVATE_DECRYPT, ERR_R_INTERNAL_ERROR); goto err; } }