diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-06-15 17:25:15 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-06-15 17:25:15 +0000 |
commit | e97359435ee15e6d2c0580c76a58040e8dc3ce60 (patch) | |
tree | 01c3ecc781efc58b6efb927129cdfe511644a3d5 /engines/e_cswift.c | |
parent | afce9bcca15bbf4a015d3f678cec5501ca1092eb (diff) |
Fix warnings (From HEAD, original patch by Ben).
Diffstat (limited to 'engines/e_cswift.c')
-rw-r--r-- | engines/e_cswift.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/e_cswift.c b/engines/e_cswift.c index bc65179846..2e64ff3277 100644 --- a/engines/e_cswift.c +++ b/engines/e_cswift.c @@ -811,7 +811,6 @@ static DSA_SIG *cswift_dsa_sign(const unsigned char *dgst, int dlen, DSA *dsa) SW_PARAM sw_param; SW_STATUS sw_status; SW_LARGENUMBER arg, res; - unsigned char *ptr; BN_CTX *ctx; BIGNUM *dsa_p = NULL; BIGNUM *dsa_q = NULL; @@ -899,7 +898,6 @@ static DSA_SIG *cswift_dsa_sign(const unsigned char *dgst, int dlen, DSA *dsa) goto err; } /* Convert the response */ - ptr = (unsigned char *)result->d; if((to_return = DSA_SIG_new()) == NULL) goto err; to_return->r = BN_bin2bn((unsigned char *)result->d, 20, NULL); |