提交 ac319dd8 编写于 作者: D Dr. Stephen Henson

Typo: fix duplicate call.

上级 284e2d2b
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册