forked from wolfSSL/wolfssl
addressed review comments part3
This commit is contained in:
@@ -56364,11 +56364,6 @@ static int cmdfunc_dhparam(WOLFSSL_CONF_CTX* cctx, const char* value)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(cctx->flags & WOLFSSL_CONF_FLAG_CERTIFICATE)) {
|
|
||||||
WOLFSSL_MSG("certificate flag is not set");
|
|
||||||
return -2;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (cctx->ctx || cctx->ssl) {
|
if (cctx->ctx || cctx->ssl) {
|
||||||
bio = wolfSSL_BIO_new_file(value, "rb");
|
bio = wolfSSL_BIO_new_file(value, "rb");
|
||||||
if (!bio) {
|
if (!bio) {
|
||||||
|
Reference in New Issue
Block a user