Drop incorrect id == -1 case from X509_check_trust
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
d9b8b89bec
commit
0e7abc9037
@ -116,8 +116,7 @@ int X509_check_trust(X509 *x, int id, int flags)
|
||||
{
|
||||
X509_TRUST *pt;
|
||||
int idx;
|
||||
if (id == -1)
|
||||
return 1;
|
||||
|
||||
/* We get this as a default value */
|
||||
if (id == 0) {
|
||||
int rv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user