Typo: fix duplicate call.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 10 Apr 2011 23:32:19 +0000 (23:32 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 10 Apr 2011 23:32:19 +0000 (23:32 +0000)
fips/rand/fips_drbg_lib.c

index 60c8324..10d549b 100644 (file)
@@ -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)
                {