diff options
| author | Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> | 2016-09-22 10:15:26 -0400 |
|---|---|---|
| committer | Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> | 2016-09-22 10:15:26 -0400 |
| commit | 5998f019f85f765070f049332bf68d347d60c993 (patch) | |
| tree | 796531832eed643b2fec02ae7f0949e84d152968 /Cryptlib/OpenSSL/crypto/stack | |
| parent | e3ef28acdfacfe07c42662d86af2135d1a100c24 (diff) | |
| parent | 62f0afa2ecead02b1258dabab8097ca278a22f8f (diff) | |
| download | efi-boot-shim-5998f019f85f765070f049332bf68d347d60c993.tar.gz efi-boot-shim-5998f019f85f765070f049332bf68d347d60c993.zip | |
New upstream release.
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/stack')
| -rw-r--r-- | Cryptlib/OpenSSL/crypto/stack/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cryptlib/OpenSSL/crypto/stack/stack.c b/Cryptlib/OpenSSL/crypto/stack/stack.c index de437acf..fa50083e 100644 --- a/Cryptlib/OpenSSL/crypto/stack/stack.c +++ b/Cryptlib/OpenSSL/crypto/stack/stack.c @@ -360,7 +360,7 @@ void *sk_set(_STACK *st, int i, void *value) void sk_sort(_STACK *st) { - if (st && !st->sorted) { + if (st && !st->sorted && st->comp != NULL) { int (*comp_func) (const void *, const void *); /* |
