projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove OPENSSL_NO_ASM dependency
[oweals/openssl.git]
/
crypto
/
stack
/
stack.c
diff --git
a/crypto/stack/stack.c
b/crypto/stack/stack.c
index 9cc0a8296235dd1bdedab8f63a89d02ca1b3d3f6..5967a2c73563684b44432c15007a8f8058367298 100644
(file)
--- a/
crypto/stack/stack.c
+++ b/
crypto/stack/stack.c
@@
-332,3
+332,10
@@
void sk_sort(STACK *st)
st->sorted=1;
}
}
+
+int sk_is_sorted(const STACK *st)
+ {
+ if (!st)
+ return 1;
+ return st->sorted;
+ }