Commit 0e7abc90 authored by Viktor Dukhovni's avatar Viktor Dukhovni
Browse files

Drop incorrect id == -1 case from X509_check_trust

parent d9b8b89b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;