Oops!
authorDr. Stephen Henson <steve@openssl.org>
Mon, 4 Oct 2004 17:28:31 +0000 (17:28 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 4 Oct 2004 17:28:31 +0000 (17:28 +0000)
crypto/stack/stack.c

index d2b2a6d2933273cbf5fd68957a55deadf4e796bc..5967a2c73563684b44432c15007a8f8058367298 100644 (file)
@@ -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;
        }