Skip to content

Commit 1facbeb

Browse files
authored
Fixes crashes for openssl 1.0.x (#4878)
Fixes crash for openssl 1.0.x #fixes #4877
1 parent 337f134 commit 1facbeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NetSSL_OpenSSL/src/Context.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,7 @@ void Context::initDH(KeyDHGroup keyDHGroup, const std::string& dhParamsFile)
972972
dh->g = BN_bin2bn(dh1024_g, sizeof(dh1024_g), 0);
973973
dh->length = 160;
974974
}
975+
else
975976
{
976977
throw Poco::NotImplementedException(Poco::format(
977978
"DH Group: %d", static_cast<int>(keyDHGroup)));

0 commit comments

Comments
 (0)