Don't call OPENSSL_free() on sig, DSA_free() has already freed it.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 23 Jan 2007 18:25:01 +0000 (18:25 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 23 Jan 2007 18:25:01 +0000 (18:25 +0000)
fips-1.0/dsa/fips_dsa_selftest.c

index 91dcfc7326f81fb2bb2c8f8194a732e4e35633cf..49b3db9ea37deb21c641c8cfaf796317563a67a5 100644 (file)
@@ -162,7 +162,6 @@ int FIPS_selftest_dsa()
        {
        i = DSA_do_verify(str1, 20, sig, dsa);
        DSA_SIG_free(sig);
-       OPENSSL_free(sig);
        }
     else
        i = 0;