@@ -353,13 +353,13 @@ extern "C" {
353353 #[ cfg( ossl111) ]
354354 pub fn SSL_CTX_set_keylog_callback ( ctx : * mut SSL_CTX , cb : SSL_CTX_keylog_cb_func ) ;
355355
356- #[ cfg( any( ossl111, libressl340 ) ) ]
356+ #[ cfg( any( ossl111, libressl ) ) ]
357357 pub fn SSL_CTX_set_max_early_data ( ctx : * mut SSL_CTX , max_early_data : u32 ) -> c_int ;
358- #[ cfg( any( ossl111, libressl340 ) ) ]
358+ #[ cfg( any( ossl111, libressl ) ) ]
359359 pub fn SSL_CTX_get_max_early_data ( ctx : * const SSL_CTX ) -> u32 ;
360- #[ cfg( any( ossl111, libressl340 ) ) ]
360+ #[ cfg( any( ossl111, libressl ) ) ]
361361 pub fn SSL_set_max_early_data ( ctx : * mut SSL , max_early_data : u32 ) -> c_int ;
362- #[ cfg( any( ossl111, libressl340 ) ) ]
362+ #[ cfg( any( ossl111, libressl ) ) ]
363363 pub fn SSL_get_max_early_data ( ctx : * const SSL ) -> u32 ;
364364
365365 pub fn SSL_get_finished ( s : * const SSL , buf : * mut c_void , count : size_t ) -> size_t ;
@@ -424,9 +424,9 @@ extern "C" {
424424 pub fn SSL_set_bio ( ssl : * mut SSL , rbio : * mut BIO , wbio : * mut BIO ) ;
425425 pub fn SSL_get_rbio ( ssl : * const SSL ) -> * mut BIO ;
426426 pub fn SSL_get_wbio ( ssl : * const SSL ) -> * mut BIO ;
427- #[ cfg( any( ossl111, libressl340 ) ) ]
427+ #[ cfg( any( ossl111, libressl ) ) ]
428428 pub fn SSL_CTX_set_ciphersuites ( ctx : * mut SSL_CTX , str : * const c_char ) -> c_int ;
429- #[ cfg( any( ossl111, libressl340 ) ) ]
429+ #[ cfg( any( ossl111, libressl ) ) ]
430430 pub fn SSL_set_ciphersuites ( ssl : * mut SSL , str : * const c_char ) -> c_int ;
431431 pub fn SSL_set_cipher_list ( ssl : * mut SSL , s : * const c_char ) -> c_int ;
432432 pub fn SSL_set_ssl_method ( s : * mut SSL , method : * const SSL_METHOD ) -> c_int ;
@@ -456,7 +456,7 @@ extern "C" {
456456 pub fn SSL_use_PrivateKey_file ( ssl : * mut SSL , file : * const c_char , type_ : c_int ) -> c_int ;
457457 pub fn SSL_use_PrivateKey ( ssl : * mut SSL , pkey : * mut EVP_PKEY ) -> c_int ;
458458 pub fn SSL_use_certificate ( ssl : * mut SSL , x : * mut X509 ) -> c_int ;
459- #[ cfg( any( ossl110, libressl332 ) ) ]
459+ #[ cfg( any( ossl110, libressl ) ) ]
460460 pub fn SSL_use_certificate_chain_file ( ssl : * mut SSL , file : * const c_char ) -> c_int ;
461461 pub fn SSL_set_client_CA_list ( s : * mut SSL , name_list : * mut stack_st_X509_NAME ) ;
462462 pub fn SSL_add_client_CA ( ssl : * mut SSL , x : * mut X509 ) -> c_int ;
@@ -472,9 +472,9 @@ extern "C" {
472472 #[ cfg( any( ossl110, libressl) ) ]
473473 pub fn SSL_SESSION_get_protocol_version ( s : * const SSL_SESSION ) -> c_int ;
474474
475- #[ cfg( any( ossl111, libressl340 ) ) ]
475+ #[ cfg( any( ossl111, libressl ) ) ]
476476 pub fn SSL_SESSION_set_max_early_data ( ctx : * mut SSL_SESSION , max_early_data : u32 ) -> c_int ;
477- #[ cfg( any( ossl111, libressl340 ) ) ]
477+ #[ cfg( any( ossl111, libressl ) ) ]
478478 pub fn SSL_SESSION_get_max_early_data ( ctx : * const SSL_SESSION ) -> u32 ;
479479
480480 pub fn SSL_SESSION_get_id ( s : * const SSL_SESSION , len : * mut c_uint ) -> * const c_uchar ;
@@ -511,7 +511,7 @@ extern "C" {
511511 ) ;
512512 pub fn SSL_CTX_set_verify_depth ( ctx : * mut SSL_CTX , depth : c_int ) ;
513513
514- #[ cfg( any( ossl111, libressl340 ) ) ]
514+ #[ cfg( any( ossl111, libressl ) ) ]
515515 pub fn SSL_CTX_set_post_handshake_auth ( ctx : * mut SSL_CTX , val : c_int ) ;
516516
517517 pub fn SSL_CTX_check_private_key ( ctx : * const SSL_CTX ) -> c_int ;
@@ -581,7 +581,7 @@ extern "C" {
581581 #[ cfg( any( ossl111, libressl350) ) ]
582582 pub fn SSL_peek_ex ( ssl : * mut SSL , buf : * mut c_void , num : usize , readbytes : * mut usize )
583583 -> c_int ;
584- #[ cfg( any( ossl111, libressl340 ) ) ]
584+ #[ cfg( any( ossl111, libressl ) ) ]
585585 pub fn SSL_read_early_data (
586586 s : * mut SSL ,
587587 buf : * mut c_void ,
@@ -608,7 +608,7 @@ extern "C" {
608608 num : size_t ,
609609 written : * mut size_t ,
610610 ) -> c_int ;
611- #[ cfg( any( ossl111, libressl340 ) ) ]
611+ #[ cfg( any( ossl111, libressl ) ) ]
612612 pub fn SSL_write_early_data (
613613 s : * mut SSL ,
614614 buf : * const c_void ,
@@ -709,7 +709,6 @@ extern "C" {
709709
710710extern "C" {
711711 pub fn SSL_CTX_get0_certificate ( ctx : * const SSL_CTX ) -> * mut X509 ;
712- #[ cfg( any( ossl102, libressl340) ) ]
713712 pub fn SSL_CTX_get0_privatekey ( ctx : * const SSL_CTX ) -> * mut EVP_PKEY ;
714713
715714 pub fn SSL_set_shutdown ( ss : * mut SSL , mode : c_int ) ;
0 commit comments