提交 4c1e06fc 编写于 作者: P Pauli

coverity 1456640: fix null check

Reviewed-by: NTim Hudson <tjh@openssl.org>
Reviewed-by: NMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10748)
上级 ff19035e
......@@ -48,11 +48,10 @@ static void *dh_priv_newctx(void *provctx)
if (ctx != NULL) {
ctx->provctx = provctx;
}
/* -1 is the "whatever" indicator, i.e. the PKCS8 library default PBE */
ctx->sc.pbe_nid = -1;
/* -1 is the "whatever" indicator, i.e. the PKCS8 library default PBE */
ctx->sc.pbe_nid = -1;
}
return ctx;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册