summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/engines/e_ubsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/engines/e_ubsec.c')
-rw-r--r--crypto/openssl/engines/e_ubsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssl/engines/e_ubsec.c b/crypto/openssl/engines/e_ubsec.c
index 8b6c98b..e8389de 100644
--- a/crypto/openssl/engines/e_ubsec.c
+++ b/crypto/openssl/engines/e_ubsec.c
@@ -822,11 +822,11 @@ static int ubsec_dsa_verify(const unsigned char *dgst, int dgst_len,
int v_len, d_len;
int to_return = 0;
int fd;
- BIGNUM v;
+ BIGNUM v, *pv = &v;
BN_init(&v);
- if(!bn_wexpand(&v, dsa->p->top)) {
+ if(!bn_wexpand(pv, dsa->p->top)) {
UBSECerr(UBSEC_F_UBSEC_DSA_VERIFY, UBSEC_R_BN_EXPAND_FAIL);
goto err;
}
OpenPOWER on IntegriCloud