drbg: fix issue where DRBG_CTR fails if NO_DF is used (2nd attempt)
[openssl.git] / crypto / rand / rand_crng_test.c
index a014f936fa1924ac161f111556a975c23efb937c..0ba0986b96ccc95e08fdae912454257e13accfe7 100644 (file)
@@ -87,7 +87,7 @@ int rand_crngt_get_entropy_cb(OPENSSL_CTX *ctx,
         if (r != 0)
             memcpy(buf, p, CRNGT_BUFSIZ);
         rand_pool_reattach(pool, p);
-        EVP_MD_meth_free(fmd);
+        EVP_MD_free(fmd);
         return r;
     }
     return 0;