forked from rabbitmq/rabbitmq-c
-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenSSL initialization - SSL_library_init is deprecated #737
Comments
alanxz
added a commit
that referenced
this issue
Feb 2, 2023
Starting with OpenSSL v1.1.0, library init/uninit is automatically handled by the library. This removes unnecessary code from rabbitmq-c and marks the initialization functions as deprecated. Fixed: #737 Signed-off-by: GitHub <[email protected]>
alanxz
added a commit
that referenced
this issue
Feb 2, 2023
Starting with OpenSSL v1.1.0, library init/uninit is automatically handled by the library. This removes unnecessary code from rabbitmq-c and marks the initialization functions as deprecated. Fixed: #737 Signed-off-by: GitHub <[email protected]>
alanxz
added a commit
that referenced
this issue
Feb 2, 2023
Starting with OpenSSL v1.1.0, library init/uninit is automatically handled by the library. This removes unnecessary code from rabbitmq-c and marks the initialization functions as deprecated. Fixed: #737 Signed-off-by: GitHub <[email protected]>
alanxz
added a commit
that referenced
this issue
Feb 2, 2023
Starting with OpenSSL v1.1.0, library init/uninit is automatically handled by the library. This removes unnecessary code from rabbitmq-c and marks the initialization functions as deprecated. Fixed: #737 Signed-off-by: GitHub <[email protected]>
alanxz
added a commit
that referenced
this issue
Feb 2, 2023
Starting with OpenSSL v1.1.0, library init/uninit is automatically handled by the library. This removes unnecessary code from rabbitmq-c and marks the initialization functions as deprecated. Fixed: #737 Signed-off-by: GitHub <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While working on the omrabbitmq module for rsyslog, I found out that unless I stop openssl init by "amqp_set_initialize_ssl_library", it will crash the whole process (presumably because openssl is already initialized in the process).
Looking at how rabbitmq-c initializes the OpenSSL, I can see it uses both "OPENSSL_init_ssl" and "SSL_library_init" (see 'setup_openssl' in here)
Reading the docs, "SSL_library_init" has been deprecated since OpenSSL 1.1.0
Reporting this, so the OpenSSL init code can be modified to accommodate for the new versions of OpenSSL.
The text was updated successfully, but these errors were encountered: