Skip to content

Commit

Permalink
Stub out SSL_load_client_CA_file
Browse files Browse the repository at this point in the history
We could implement this.
  • Loading branch information
ctz committed Apr 5, 2024
1 parent 408ea62 commit 1bdd9ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rustls-libssl/MATRIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
| `SSL_is_init_finished` | | :white_check_mark: | :white_check_mark: |
| `SSL_is_server` | | | :white_check_mark: |
| `SSL_key_update` | | | |
| `SSL_load_client_CA_file` | | :white_check_mark: | |
| `SSL_load_client_CA_file` | | :white_check_mark: | :exclamation: [^stub] |
| `SSL_load_client_CA_file_ex` | | | |
| `SSL_new` | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| `SSL_new_session_ticket` | | | |
Expand Down
1 change: 1 addition & 0 deletions rustls-libssl/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ const ENTRYPOINTS: &[&str] = &[
"SSL_in_init",
"SSL_is_init_finished",
"SSL_is_server",
"SSL_load_client_CA_file",
"SSL_new",
"SSL_pending",
"SSL_read",
Expand Down
4 changes: 4 additions & 0 deletions rustls-libssl/src/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1804,6 +1804,10 @@ entry_stub! {
pub fn _SSL_CTX_set_client_CA_list(_ctx: *mut SSL_CTX, _name_list: *mut stack_st_X509_NAME);
}

entry_stub! {
pub fn _SSL_load_client_CA_file(_file: *const c_char) -> *mut stack_st_X509_NAME;
}

// no individual message logging

entry_stub! {
Expand Down

0 comments on commit 1bdd9ff

Please sign in to comment.