Skip to content

Commit 81c85de

Browse files
committed
Implement deprecated ERR_load_SSL_strings
1 parent be68dad commit 81c85de

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

MATRIX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
| `DTLSv1_listen` [^sock] | | | | |
1919
| `DTLSv1_method` [^deprecatedin_1_1_0] [^dtls1_method] | | | | |
2020
| `DTLSv1_server_method` [^deprecatedin_1_1_0] [^dtls1_method] | | | | |
21-
| `ERR_load_SSL_strings` [^deprecatedin_3_0] | | | | |
21+
| `ERR_load_SSL_strings` [^deprecatedin_3_0] | | | | :white_check_mark: |
2222
| `OPENSSL_cipher_name` | | | | |
2323
| `OPENSSL_init_ssl` | :white_check_mark: | :white_check_mark: | | :white_check_mark: |
2424
| `OSSL_default_cipher_list` | | | | |

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ fn write_version_file() -> String {
4141
const ENTRYPOINTS: &[&str] = &[
4242
"BIO_f_ssl",
4343
"d2i_SSL_SESSION",
44+
"ERR_load_SSL_strings",
4445
"i2d_SSL_SESSION",
4546
"OPENSSL_init_ssl",
4647
"SSL_accept",

src/entry.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ entry! {
100100
}
101101
}
102102

103+
entry! {
104+
pub fn _ERR_load_SSL_strings() -> c_int {
105+
C_INT_SUCCESS
106+
}
107+
}
108+
103109
entry! {
104110
pub fn _SSL_alert_desc_string_long(value: c_int) -> *const c_char {
105111
crate::constants::alert_desc_to_long_string(value).as_ptr() as *const c_char

0 commit comments

Comments
 (0)