Commit aa0aacb
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 <jasnell@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>1 parent 9fed62f commit aa0aacbCopy full SHA for aa0aacb
File tree
Expand file treeCollapse file tree
2 files changed
+8
-26
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
2 files changed
+8
-26
lines changedOpen diff view settings
Collapse file
-7Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
785 | 785 | |
786 | 786 | |
787 | 787 | |
788 | | - |
789 | | - |
790 | | - |
791 | | - |
792 | | - |
793 | | - |
794 | | - |
795 | 788 | |
796 | 789 | |
797 | 790 | |
|
Collapse file
+8-19Lines changed: 8 additions & 19 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6961 | 6961 | |
6962 | 6962 | |
6963 | 6963 | |
6964 | | - |
6965 | | - |
| 6964 | + |
| 6965 | + |
6966 | 6966 | |
6967 | 6967 | |
6968 | 6968 | |
6969 | | - |
6970 | | - |
6971 | | - |
6972 | | - |
6973 | | - |
6974 | | - |
6975 | | - |
6976 | | - |
6977 | | - |
6978 | | - |
6979 | | - |
6980 | | - |
6981 | | - |
6982 | | - |
6983 | | - |
| 6969 | + |
| 6970 | + |
6984 | 6971 | |
6985 | 6972 | |
6986 | | - |
6987 | | - |
| 6973 | + |
| 6974 | + |
| 6975 | + |
| 6976 | + |
6988 | 6977 | |
6989 | 6978 | |
6990 | 6979 | |
|
0 commit comments