poco icon indicating copy to clipboard operation
poco copied to clipboard

macos LibreSSL crash

Open guoxiangzhou opened this issue 1 year ago • 2 comments

poco version

1.12.4

my code:

Poco::Net::initializeSSL();
Poco::Net::Context::Ptr context = new Poco::Net::Context(
          Poco::Net::Context::SERVER_USE, private_key, cert_file,
          root_cert_file, Poco::Net::Context::VERIFY_RELAXED, 9, false,
          "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");

but

Exception: EXC_BAD_ACCESS (code=1, address=0x8a3)

stack

<unknown> 0x0000000113f0295b
<unknown> 0x0000000113f029d8
<unknown> 0x0000000113f007ac
Poco::Net::Context::initDH(bool, const std::string &) Context.cpp:837
Poco::Net::Context::init(const Poco::Net::Context::Params &) Context.cpp:207
Poco::Net::Context::Context(Poco::Net::Context::Usage, const std::string &, const std::string &, const std::string &, Poco::Net::Context::VerificationMode, int, bool, const std::string &) Context.cpp:86
......

openssl version LibreSSL 3.3.6

macos version Ventura 13.1

guoxiangzhou avatar May 04 '23 14:05 guoxiangzhou

LibreSSL is not actively supported. There were attempts in the past, but not merged and released. You are welcome to fix the problem and send pull request.

aleks-f avatar May 05 '23 17:05 aleks-f

This issue is stale because it has been open for 365 days with no activity.

github-actions[bot] avatar May 05 '24 02:05 github-actions[bot]

This issue was closed because it has been inactive for 60 days since being marked as stale.

github-actions[bot] avatar Jul 04 '24 02:07 github-actions[bot]