openssl: Remove arbitrary keyid length check
authorambiso <ambiso@invalid>
Tue, 23 Oct 2018 21:20:17 +0000 (23:20 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 24 Oct 2018 07:49:18 +0000 (09:49 +0200)
src/libstrongswan/plugins/openssl/openssl_plugin.c

index c919680..5347daa 100644 (file)
@@ -395,7 +395,7 @@ static private_key_t *openssl_private_key_connect(key_type_t type,
                }
                break;
        }
-       if (!keyid.len || keyid.len > 40)
+       if (!keyid.len)
        {
                return NULL;
        }