Skip to content

Commit

Permalink
Merge pull request #1692 from Skepfyr/fix-deprecated
Browse files Browse the repository at this point in the history
Fix deprecation note on SSL_CTX_set_alpn_select_cb
  • Loading branch information
sfackler authored Sep 21, 2022
2 parents 8156ba2 + 359d739 commit f8c321f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions openssl-sys/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

* Added `EVP_MD_CTX_size` and `EVP_MD_CTX_get_size`

### Fixed

* Fixed the deprecation note on `SSL_CTX_set_alpn_select_cb`.

## [v0.9.75] - 2022-07-09

### Added
Expand Down
2 changes: 1 addition & 1 deletion openssl-sys/src/ssl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ extern "C" {
fp: Option<extern "C" fn()>,
) -> c_long;

#[deprecated(note = "use SSL_CTX_set_alpn_select_cb instead")]
#[deprecated(note = "use SSL_CTX_set_alpn_select_cb__fixed_rust instead")]
#[cfg(any(ossl102, libressl261))]
pub fn SSL_CTX_set_alpn_select_cb(
ssl: *mut SSL_CTX,
Expand Down

0 comments on commit f8c321f

Please sign in to comment.