]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove unused function cipher_var_key_size
authorArne Schwabe <arne@rfc2549.org>
Thu, 17 Feb 2022 18:19:43 +0000 (19:19 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 17 Feb 2022 18:45:32 +0000 (19:45 +0100)
This function has been accidentially not been deleted during the removal
of last bits of variable key size.

Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/openvpn/crypto_openssl.c

index 8bc417926002b68f5840876ded4d0622657c89e0..1c99db0f29321963736f011ae11cdda93c5e049f 100644 (file)
@@ -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)
 {