Bug 63701 - SSL initialize hangs with OpenSSL 1.1.1
Summary: SSL initialize hangs with OpenSSL 1.1.1
Alias: None
Product: Tomcat Native
Classification: Unclassified
Component: Library (show other bugs)
Version: 1.2.21
Hardware: PC All
: P2 major (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2019-08-27 09:47 UTC by Mladen Turk
Modified: 2020-04-22 10:26 UTC (History)
0 users

Patch using a new OpenSSL init API (1.89 KB, text/plain)
2019-08-27 09:47 UTC, Mladen Turk

Note You need to log in before you can comment on or make changes to this bug.
Description Mladen Turk 2019-08-27 09:47:44 UTC
Created attachment 36739 [details]
Patch using a new OpenSSL init API

OpenSSL >= 1.1.0 uses new initialization concept by
replacing all those initialization calls with single OPENSSL_init_ssl call.

Tomcat native using OpenSSL 1.1.1 hangs inside initialize on Windows platforms.
Using new API it works
Comment 1 Mladen Turk 2019-08-28 16:50:58 UTC
Applied patch

Please test with various OpenSSL versions
Comment 2 Michael Osipov 2020-04-06 13:31:03 UTC
Does this still occur with the most recent versions of Tomcat, libtcnative and
Comment 3 Michael Osipov 2020-04-06 13:37:52 UTC
The previous change was not intended.

Can we marked this fixed for 1.2.23? Since this is in master now?!
Comment 4 Mark Thomas 2020-04-22 10:26:27 UTC
This will have been tested by Gump with all current OpenSSL versions so I am sure all is well.

I've updated the changelog for 1.2.24