Skip to contentSkip to conversation

Remove unused function cipher_var_key_size

PATCH In review Arne Schwabe 2 participants 2 messages Feb 17, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 src/openvpn/crypto_openssl.c | 9 ---------
 1 file changed, 9 deletions(-)
src/openvpn/crypto_openssl.c +0 -9
index 8bc41792..1c99db0f 100644
@@ -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)
 {
Signature · 1 line
2.33.0
Acked-by on v1 1/1
#1 lore raw

Easy enough.

Your patch has been applied to the master branch.

commit 9cfe02039f00ea1ff026967497695d4cc35b1706

Author: Arne Schwabe
Date:   Thu Feb 17 19:19:43 2022 +0100
     Remove unused function cipher_var_key_size

     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg23832.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering