From b07a7b5daaabddf3be6a4d06e47327a5e3cc5660 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Sat, 23 Apr 2005 12:46:24 +0000 Subject: [PATCH] fix typo --- crypto/dsa/dsa_ossl.c | 2 +- crypto/rsa/rsa_eay.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crypto/dsa/dsa_ossl.c b/crypto/dsa/dsa_ossl.c index 2bf83ca419..a25a294500 100644 --- a/crypto/dsa/dsa_ossl.c +++ b/crypto/dsa/dsa_ossl.c @@ -281,7 +281,7 @@ static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, { mont = BN_MONT_CTX_set_locked( (BN_MONT_CTX **)&dsa->method_mont_p, - CRYPTO_LOCK_DSA, dsa->p, ctx)); + CRYPTO_LOCK_DSA, dsa->p, ctx); if (!mont) goto err; } diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index 143a25d2c4..368ac84f17 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -148,7 +148,7 @@ static int RSA_eay_public_encrypt(int flen, const unsigned char *from, if (rsa->flags & RSA_FLAG_CACHE_PUBLIC) { if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_n, - CRYPTO_LOCK_RSA, rsa->n, ctx) + CRYPTO_LOCK_RSA, rsa->n, ctx)) goto err; } @@ -521,7 +521,7 @@ static int RSA_eay_public_decrypt(int flen, const unsigned char *from, if (rsa->flags & RSA_FLAG_CACHE_PUBLIC) { if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_n, - CRYPTO_LOCK_RSA, rsa->n, ctx) + CRYPTO_LOCK_RSA, rsa->n, ctx)) goto err; } @@ -572,10 +572,10 @@ static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa) if (rsa->flags & RSA_FLAG_CACHE_PRIVATE) { if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_p, - CRYPTO_LOCK_RSA, rsa->p, ctx) + CRYPTO_LOCK_RSA, rsa->p, ctx)) goto err; if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_q, - CRYPTO_LOCK_RSA, rsa->q, ctx) + CRYPTO_LOCK_RSA, rsa->q, ctx)) goto err; } -- 2.25.1