summaryrefslogtreecommitdiff
path: root/src/ocsptool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ocsptool.c')
-rw-r--r--src/ocsptool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ocsptool.c b/src/ocsptool.c
index 480f9b0383..4f3176be70 100644
--- a/src/ocsptool.c
+++ b/src/ocsptool.c
@@ -404,6 +404,7 @@ unsigned load_chain(gnutls_x509_crt_t chain[MAX_CHAIN_SIZE])
info.verbose = verbose;
info.cert = OPT_ARG(LOAD_CHAIN);
+ info.sort_chain = 1;
list = load_cert_list(1, &list_size, &info);
if (list_size > MAX_CHAIN_SIZE) {