Fix race condition when CRL checking is enabled.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user