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 60c83240c0ded7a5fb176a013f727a1153092c71..10d549b5c2227881483f5510db9a4cb10a50e4be 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)
        {
 
 DRBG_CTX *FIPS_drbg_new(int type, unsigned int flags)
        {
-       int rv;
        DRBG_CTX *dctx;
        dctx = OPENSSL_malloc(sizeof(DRBG_CTX));
        if (!dctx)
        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;
                }
        if (type == 0)
                return dctx;
-       rv = FIPS_drbg_init(dctx, type, flags);
 
        if (FIPS_drbg_init(dctx, type, flags) <= 0)
                {
 
        if (FIPS_drbg_init(dctx, type, flags) <= 0)
                {