aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_sqr.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-16 22:41:26 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-16 22:41:26 +0000
commitafb83c45e6745c92b45b6f894e3543bf5724d62e (patch)
tree8db6f382c4a100263513a66884ad45fb0575d898 /crypto/bn/bn_sqr.c
parent43fcc1b096c47f5d5c10e09cf8a0f75ca4707e35 (diff)
downloadopenssl-afb83c45e6745c92b45b6f894e3543bf5724d62e.tar.gz
Oops, when I clean, I should do it thoroughly.
Diffstat (limited to 'crypto/bn/bn_sqr.c')
-rw-r--r--crypto/bn/bn_sqr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/bn/bn_sqr.c b/crypto/bn/bn_sqr.c
index bbff1ad72a..eb52c4e828 100644
--- a/crypto/bn/bn_sqr.c
+++ b/crypto/bn/bn_sqr.c
@@ -66,7 +66,7 @@ int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
{
int max,al;
int ret = 0;
- BIGNUM *tmp,*rr,*free_a = NULL;
+ BIGNUM *tmp,*rr;
#ifdef BN_COUNT
fprintf(stderr,"BN_sqr %d * %d\n",a->top,a->top);
@@ -144,7 +144,6 @@ int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
if (rr != r) BN_copy(r,rr);
ret = 1;
err:
- if (free_a) BN_free(free_a);
BN_CTX_end(ctx);
return(ret);
}