diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 6dd0dd82..88f76f0b 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1637,7 +1637,6 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION) #define SSL_CTRL_SET_VERIFY_CERT_STORE 106 #define SSL_CTRL_SET_CHAIN_CERT_STORE 107 #define SSL_CTRL_GET_SERVER_TMP_KEY 109 -#define SSL_CTRL_GET_RAW_CIPHERLIST 110 #define SSL_CTRL_GET_EC_POINT_FORMATS 111 #define SSL_CTRL_GET_CHAIN_CERTS 115 @@ -1825,9 +1824,6 @@ OPENSSL_EXPORT int DTLSv1_handle_timeout(SSL *ssl); #define SSL_get_server_tmp_key(s, pk) \ SSL_ctrl(s, SSL_CTRL_GET_SERVER_TMP_KEY, 0, pk) -#define SSL_get0_raw_cipherlist(s, plst) \ - SSL_ctrl(s, SSL_CTRL_GET_RAW_CIPHERLIST, 0, (char *)plst) - #define SSL_get0_ec_point_formats(s, plst) \ SSL_ctrl(s, SSL_CTRL_GET_EC_POINT_FORMATS, 0, (char *)plst) diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 7edcacf5..451cdc63 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -1072,19 +1072,6 @@ long SSL_ctrl(SSL *s, int cmd, long larg, void *parg) { } return 0; - case SSL_CTRL_GET_RAW_CIPHERLIST: - if (parg) { - if (s->cert->ciphers_raw == NULL) { - return 0; - } - *(uint8_t **)parg = s->cert->ciphers_raw; - return (int)s->cert->ciphers_rawlen; - } - - /* Passing a NULL |parg| returns the size of a single - * cipher suite value. */ - return 2; - default: return s->method->ssl_ctrl(s, cmd, larg, parg); }