From: ambiso Date: Tue, 23 Oct 2018 21:20:17 +0000 (+0200) Subject: openssl: Remove arbitrary keyid length check X-Git-Tag: 5.7.2dr1~10^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9e45b5b4a4c834d63080e79e3c6da44601e1684;p=thirdparty%2Fstrongswan.git openssl: Remove arbitrary keyid length check --- diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.c b/src/libstrongswan/plugins/openssl/openssl_plugin.c index c9196804e7..5347daa086 100644 --- a/src/libstrongswan/plugins/openssl/openssl_plugin.c +++ b/src/libstrongswan/plugins/openssl/openssl_plugin.c @@ -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; }