From ac319dd82b74604541317231bb18d7b772f09eaa Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 10 Apr 2011 23:32:19 +0000 Subject: [PATCH] Typo: fix duplicate call. --- fips/rand/fips_drbg_lib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fips/rand/fips_drbg_lib.c b/fips/rand/fips_drbg_lib.c index 60c83240c..10d549b5c 100644 --- a/fips/rand/fips_drbg_lib.c +++ b/fips/rand/fips_drbg_lib.c @@ -101,7 +101,6 @@ int FIPS_drbg_init(DRBG_CTX *dctx, int type, unsigned int flags) DRBG_CTX *FIPS_drbg_new(int type, unsigned int flags) { - int rv; DRBG_CTX *dctx; dctx = OPENSSL_malloc(sizeof(DRBG_CTX)); if (!dctx) @@ -111,7 +110,6 @@ DRBG_CTX *FIPS_drbg_new(int type, unsigned int flags) } if (type == 0) return dctx; - rv = FIPS_drbg_init(dctx, type, flags); if (FIPS_drbg_init(dctx, type, flags) <= 0) {