openssl: Remove arbitrary keyid length check

This commit is contained in:
ambiso 2018-10-23 23:20:17 +02:00 committed by Tobias Brunner
parent b148517c6b
commit b9e45b5b4a

View 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;
}