From: Dr. Stephen Henson Date: Mon, 4 Oct 2004 17:28:31 +0000 (+0000) Subject: Oops! X-Git-Tag: BEN_FIPS_TEST_6~14^2~61 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=785e82732318333c5c12fa867bc975db82bd461d;p=oweals%2Fopenssl.git Oops! --- diff --git a/crypto/stack/stack.c b/crypto/stack/stack.c index d2b2a6d293..5967a2c735 100644 --- a/crypto/stack/stack.c +++ b/crypto/stack/stack.c @@ -335,7 +335,7 @@ void sk_sort(STACK *st) int sk_is_sorted(const STACK *st) { - if (st) + if (!st) return 1; return st->sorted; }