diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-09-06 12:43:54 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-09-06 12:43:54 +0000 |
commit | 927a28ba3b58210dd83f5ace7f29fbf7b2caf05b (patch) | |
tree | a26ab105590e63dd01bb254117c8cbf9c5dd22fa /engines | |
parent | a938c4284e74b62a704a5721dff6a7efe632a3ac (diff) |
gcc 4.2 fixes to avoid use or function pointer casts in OpenSSL.
Fix various "computed value not used" warnings too.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_ubsec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_ubsec.c b/engines/e_ubsec.c index 8b6c98bafa..e8389de6a1 100644 --- a/engines/e_ubsec.c +++ b/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; } |