File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 179
179
| ` SSL_CTX_set_recv_max_early_data ` | | | |
180
180
| ` SSL_CTX_set_security_callback ` | | | |
181
181
| ` SSL_CTX_set_security_level ` | | | |
182
- | ` SSL_CTX_set_session_id_context ` | | :white_check_mark : | :exclamation : [ ^ stub ] |
182
+ | ` SSL_CTX_set_session_id_context ` | | :white_check_mark : | :white_check_mark : |
183
183
| ` SSL_CTX_set_session_ticket_cb ` | | | |
184
184
| ` SSL_CTX_set_srp_cb_arg ` [ ^ deprecatedin_3_0 ] [ ^ srp ] | | | |
185
185
| ` SSL_CTX_set_srp_client_pwd_callback ` [ ^ deprecatedin_3_0 ] [ ^ srp ] | | | |
Original file line number Diff line number Diff line change @@ -627,6 +627,17 @@ entry! {
627
627
}
628
628
}
629
629
630
+ entry ! {
631
+ pub fn _SSL_CTX_set_session_id_context(
632
+ _ctx: * mut SSL_CTX ,
633
+ _sid_ctx: * const c_uchar,
634
+ _sid_ctx_len: c_uint,
635
+ ) -> c_int {
636
+ log:: warn!( "SSL_CTX_set_session_id_context not yet implemented" ) ;
637
+ C_INT_SUCCESS
638
+ }
639
+ }
640
+
630
641
impl Castable for SSL_CTX {
631
642
type Ownership = OwnershipArc ;
632
643
type RustType = NotThreadSafe < SSL_CTX > ;
@@ -1543,15 +1554,6 @@ pub type SSL_CTX_sess_remove_cb =
1543
1554
Option < unsafe extern "C" fn ( ctx : * mut SSL_CTX , sess : * mut SSL_SESSION ) > ;
1544
1555
1545
1556
entry_stub ! {
1546
- pub fn _SSL_CTX_set_session_id_context(
1547
- _ctx: * mut SSL_CTX ,
1548
- _sid_ctx: * const c_uchar,
1549
- _sid_ctx_len: c_uint,
1550
- ) -> c_int;
1551
- }
1552
-
1553
- entry_stub ! {
1554
-
1555
1557
pub fn _SSL_set_session_id_context(
1556
1558
_ssl: * mut SSL ,
1557
1559
_sid_ctx: * const c_uchar,
You can’t perform that action at this time.
0 commit comments