From b92fc4ae189fb0d5b0a2f34bc28e59cd7e1eed5a Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 17 Oct 2022 16:33:40 +0100 Subject: Remove some redundant code Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/19424) --- ssl/ssl_lib.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'ssl/ssl_lib.c') diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index d47526b6cf..5b71d6dc0a 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -26,18 +26,6 @@ #include "internal/refcount.h" #include "internal/ktls.h" -static int ssl_undefined_function_1(SSL_CONNECTION *sc, SSL3_RECORD *r, size_t s, - int t, SSL_MAC_BUF *mac, size_t macsize) -{ - return ssl_undefined_function(SSL_CONNECTION_GET_SSL(sc)); -} - -static int ssl_undefined_function_2(SSL_CONNECTION *sc, SSL3_RECORD *r, - unsigned char *s, int t) -{ - return ssl_undefined_function(SSL_CONNECTION_GET_SSL(sc)); -} - static int ssl_undefined_function_3(SSL_CONNECTION *sc, unsigned char *r, unsigned char *s, size_t t, size_t *u) { @@ -73,8 +61,6 @@ static int ssl_undefined_function_8(SSL_CONNECTION *sc) } SSL3_ENC_METHOD ssl3_undef_enc_method = { - ssl_undefined_function_1, - ssl_undefined_function_2, ssl_undefined_function_8, ssl_undefined_function_3, ssl_undefined_function_4, -- cgit v1.2.3