Commit b019ccd
src: initialize openssl only once
For compatibility with OpenSSL 1.1.0 and 1.0.1 a series of
initialization wrappers were being called, many deprecated, and many
calling each other internally already. Compatibility is unnecessary in
12.x and later, which support only OpenSSL 1.1.1, and the multiple calls
cause the configuration file to be loaded multiple times.
Fixes: #29702
See:
- https://mta.openssl.org/pipermail/openssl-users/2019-October/011303.html
- https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_init_ssl.html
- https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_init_crypto.html
PR-URL: #29999
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Shelley Vohr <[email protected]>1 parent ccf5883 commit b019ccd
2 files changed
+8
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | 836 | | |
844 | 837 | | |
845 | 838 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6964 | 6964 | | |
6965 | 6965 | | |
6966 | 6966 | | |
6967 | | - | |
6968 | | - | |
| 6967 | + | |
| 6968 | + | |
6969 | 6969 | | |
6970 | 6970 | | |
6971 | 6971 | | |
6972 | | - | |
6973 | | - | |
6974 | | - | |
6975 | | - | |
6976 | | - | |
6977 | | - | |
6978 | | - | |
6979 | | - | |
6980 | | - | |
6981 | | - | |
6982 | | - | |
6983 | | - | |
6984 | | - | |
6985 | | - | |
6986 | | - | |
| 6972 | + | |
| 6973 | + | |
6987 | 6974 | | |
6988 | 6975 | | |
6989 | | - | |
6990 | | - | |
| 6976 | + | |
| 6977 | + | |
| 6978 | + | |
| 6979 | + | |
6991 | 6980 | | |
6992 | 6981 | | |
6993 | 6982 | | |
| |||
0 commit comments