diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-06-19 20:58:21 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-20 12:46:04 +0200 |
commit | 692ebe18468358edc503fcf856891649936d335a (patch) | |
tree | 85e37a34b8b854b9f198b927e9f7b60970cb9443 /src/ocsptool.c | |
parent | 4a6d863c0b5f0f21d8e2e03abd7f5e5430f5e9c0 (diff) | |
download | gnutls-692ebe18468358edc503fcf856891649936d335a.tar.gz |
ocsptool: --load-chain will sort the input chain
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'src/ocsptool.c')
-rw-r--r-- | src/ocsptool.c | 1 |
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) { |