Commit 0acee504 authored by Benjamin Kaduk's avatar Benjamin Kaduk Committed by Richard Levitte
Browse files

Further de-obfuscation



A similar change that probably should have been wrapped into
commit e0926ef4.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3010)
parent 8c55c461
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1933,12 +1933,11 @@ int check_in_list(SSL *s, unsigned int group_id, const unsigned char *groups,
        if (group_id == share_id
                && (!checkallow
                    || tls_curve_allowed(s, groups, SSL_SECOP_CURVE_CHECK))) {
            break;
            return 1;
        }
    }

    /* If i == num_groups then not in the list */
    return i < num_groups;
    return 0;
}
#endif