projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix race condition when CRL checking is enabled.
[openssl.git]
/
crypto
/
stack
/
stack.c
diff --git
a/crypto/stack/stack.c
b/crypto/stack/stack.c
index 9cc0a8296235dd1bdedab8f63a89d02ca1b3d3f6..d2b2a6d2933273cbf5fd68957a55deadf4e796bc 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;
+ }