]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - providers/implementations/rands/drbg_local.h
Fix memory leaks on error cases during drbg initializations
[thirdparty/openssl.git] / providers / implementations / rands / drbg_local.h
index 50f98a0b61ca3368c0309afd42c78827724f26a3..95ad417657850b46943b7d09a402836765f72407 100644 (file)
@@ -176,6 +176,7 @@ struct prov_drbg_st {
 PROV_DRBG *ossl_rand_drbg_new
     (void *provctx, void *parent, const OSSL_DISPATCH *parent_dispatch,
      int (*dnew)(PROV_DRBG *ctx),
+     void (*dfree)(void *vctx),
      int (*instantiate)(PROV_DRBG *drbg,
                         const unsigned char *entropy, size_t entropylen,
                         const unsigned char *nonce, size_t noncelen,