Skip to content

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Aug 7, 2023

Stop calling OpenSSL_add_all_*() for LibreSSL 2.7.0 and later.

LibreSSL 2.7.0 (2018-03-21) introduced automatic initialization and
deprecated these functions. Stop calling these functions manually for
LibreSSL version that no longer need them.

Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.0-relnotes.txt
Ref: libressl/openbsd@46f29f1
Ref: #302

Also stop calling ENGINE_*() functions when initialization is
automatic with LibreSSL 2.7.0+ and OpenSSL 1.1.0+. Engines are also
initializated automatically with these.

Closes #1146

LibreSSL 2.7.0 (2018-03-21) introduced automatic initialization and
deprecated these functions. Stop calling these functions manually
for LibreSSL version that no longer need them.

https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.0-relnotes.txt

Ref: libssh2#302
@vszakats vszakats changed the title openssl: stop manual init with LibreSSL 2.7.0+ openssl: use automatic initialization with LibreSSL 2.7.0+ Aug 7, 2023
@vszakats vszakats force-pushed the openssl-init-cleanup branch 2 times, most recently from 0b8e9be to 9e93174 Compare August 7, 2023 16:05
@vszakats vszakats force-pushed the openssl-init-cleanup branch from 9e93174 to 5f20db4 Compare August 7, 2023 17:24
@vszakats vszakats closed this in d79047c Aug 7, 2023
@vszakats vszakats deleted the openssl-init-cleanup branch August 7, 2023 20:45
lampmanyao pushed a commit to lampmanyao/libssh2 that referenced this pull request Sep 3, 2023
Stop calling `OpenSSL_add_all_*()` for LibreSSL 2.7.0 and later.

LibreSSL 2.7.0 (2018-03-21) introduced automatic initialization and
deprecated these functions. Stop calling these functions manually for
LibreSSL version that no longer need them.

Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.0-relnotes.txt
Ref: libressl/openbsd@46f29f1
Ref: libssh2#302

Also stop calling `ENGINE_*()` functions when initialization is
automatic with LibreSSL 2.7.0+ and OpenSSL 1.1.0+. Engines are also
initializated automatically with these.

Closes libssh2#1146
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
Stop calling `OpenSSL_add_all_*()` for LibreSSL 2.7.0 and later.

LibreSSL 2.7.0 (2018-03-21) introduced automatic initialization and
deprecated these functions. Stop calling these functions manually for
LibreSSL version that no longer need them.

Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.0-relnotes.txt
Ref: libressl/openbsd@46f29f1
Ref: libssh2#302

Also stop calling `ENGINE_*()` functions when initialization is
automatic with LibreSSL 2.7.0+ and OpenSSL 1.1.0+. Engines are also
initializated automatically with these.

Closes libssh2#1146
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant