diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-03-06 15:14:14 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-03-06 15:14:14 +0100 |
commit | bfbdc814984f25e09af8820d9f409100bf0248d2 (patch) | |
tree | f0dddf9a6fdadea8768a7213fc46c7127350796f | |
parent | ca029d0d8afa8f77905fc4d73d5cde66509f9f58 (diff) | |
download | gnutls-bfbdc814984f25e09af8820d9f409100bf0248d2.tar.gz |
gnutls-cli-debug: a cert list of size 1 is always sorted
-rw-r--r-- | src/tests.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests.c b/src/tests.c index 2e59066bd0..be7e654b17 100644 --- a/src/tests.c +++ b/src/tests.c @@ -1268,6 +1268,9 @@ test_code_t test_chain_order(gnutls_session_t session) return TEST_IGNORE; } + if (cert_list_size == 1) + return TEST_SUCCEED; + p = 0; p_size = 0; pos = NULL; |