fixed two bindings that don't match our style guide (#7471)

This commit is contained in:
Alex Gaynor 2022-08-02 11:47:07 -04:00 committed by GitHub
parent ecd283c1f5
commit f87efd77f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -824,13 +824,13 @@ void (*SSL_CTX_set_psk_use_session_callback)(SSL_CTX *,
SSL_SESSION **
)) = NULL;
#if CRYPTOGRAPHY_LIBRESSL_LESS_THAN_340 || CRYPTOGRAPHY_IS_BORINGSSL
const SSL_CIPHER *(*SSL_CIPHER_find)(SSL *, const unsigned char *) = NULL;
const SSL_CIPHER *(*SSL_CIPHER_find)(SSL *, const unsigned char *) = NULL;
#endif
int (*SSL_SESSION_set1_master_key)(SSL_SESSION *, const unsigned char *,
size_t) = NULL;
int (*SSL_SESSION_set_cipher)(SSL_SESSION *, const SSL_CIPHER *) = NULL;
#if !CRYPTOGRAPHY_IS_BORINGSSL
int (*SSL_SESSION_set_protocol_version)(SSL_SESSION *, int) = NULL;
int (*SSL_SESSION_set_protocol_version)(SSL_SESSION *, int) = NULL;
#endif
SSL_SESSION *(*Cryptography_SSL_SESSION_new)(void) = NULL;
#else