From: Arne Schwabe Date: Thu, 17 Feb 2022 18:19:43 +0000 (+0100) Subject: Remove unused function cipher_var_key_size X-Git-Tag: v2.6_beta1~266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cfe02039f00ea1ff026967497695d4cc35b1706;p=thirdparty%2Fopenvpn.git Remove unused function cipher_var_key_size This function has been accidentially not been deleted during the removal of last bits of variable key size. Acked-by: Gert Doering Message-Id: <20220217181943.33531-1-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23832.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/crypto_openssl.c b/src/openvpn/crypto_openssl.c index 8bc417926..1c99db0f2 100644 --- a/src/openvpn/crypto_openssl.c +++ b/src/openvpn/crypto_openssl.c @@ -612,15 +612,6 @@ out: return ret; } -bool cipher_var_key_size(const char *ciphername) -{ - evp_cipher_type *cipher = cipher_get(ciphername); - bool ret = EVP_CIPHER_flags(cipher) & EVP_CIPH_VARIABLE_LENGTH; - EVP_CIPHER_free(cipher); - return ret; -} - - const char * cipher_kt_name(const char *ciphername) {