forked from wolfSSL/wolfssl
Fixed CID 587445.
This commit is contained in:
@@ -31897,6 +31897,7 @@ int SetDhExternal(WOLFSSL_DH *dh)
|
|||||||
|
|
||||||
if (dh == NULL || dh->internal == NULL) {
|
if (dh == NULL || dh->internal == NULL) {
|
||||||
WOLFSSL_MSG("dh key NULL error");
|
WOLFSSL_MSG("dh key NULL error");
|
||||||
|
return WOLFSSL_FATAL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
key = (DhKey*)dh->internal;
|
key = (DhKey*)dh->internal;
|
||||||
|
Reference in New Issue
Block a user