Skip to content

Commit

Permalink
Fixes crashes for openssl 1.0.x (#4878)
Browse files Browse the repository at this point in the history
Fixes crash for openssl 1.0.x

#fixes #4877
  • Loading branch information
SinghRajenM authored Feb 22, 2025
1 parent 337f134 commit 1facbeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NetSSL_OpenSSL/src/Context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,7 @@ void Context::initDH(KeyDHGroup keyDHGroup, const std::string& dhParamsFile)
dh->g = BN_bin2bn(dh1024_g, sizeof(dh1024_g), 0);
dh->length = 160;
}
else
{
throw Poco::NotImplementedException(Poco::format(
"DH Group: %d", static_cast<int>(keyDHGroup)));
Expand Down

0 comments on commit 1facbeb

Please sign in to comment.