Fix sk_is_sorted to tread 0 and 1 element lists as sorted.
authorbeck <beck@openbsd.org>
Mon, 24 Apr 2023 15:35:22 +0000 (15:35 +0000)
committerbeck <beck@openbsd.org>
Mon, 24 Apr 2023 15:35:22 +0000 (15:35 +0000)
commitbde0d557ea6456f3e667fe44e53439162f51db33
treeae2f91a75c8f70d0f64a70680d2b075a6b9a0ebc
parent74b62d9a483e248e85c501f85aaa680719232a08
Fix sk_is_sorted to tread 0 and 1 element lists as sorted.

from boringssl

ok tb@ jsing@
lib/libcrypto/stack/stack.c