]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl/cli: replace dump/show ssl crt-list by '-n' option
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 6 Apr 2020 17:07:03 +0000 (19:07 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 6 Apr 2020 17:33:33 +0000 (19:33 +0200)
commitc69f02d0f08beeb67d3ddb9236c5efd55ea72813
treef73b1feefa2e6b56cc28ebabee9633acaa69b568
parent0a9b9414f05ac55268edf0afaa054dfe2c2377d8
MINOR: ssl/cli: replace dump/show ssl crt-list by '-n' option

The dump and show ssl crt-list commands does the same thing, they dump
the content of a crt-list, but the 'show' displays an ID in the first
column. Delete the 'dump' command so it is replaced by the 'show' one.
The old 'show' command is replaced by an '-n' option to dump the ID.
And the ID which was a pointer is replaced by a line number and placed
after colons in the filename.

Example:
  $ echo "show ssl crt-list -n kikyo.crt-list" | socat /tmp/sock1 -
  # kikyo.crt-list
  kikyo.pem.rsa:1 secure.domain.tld
  kikyo.pem.ecdsa:2 secure.domain.tld
doc/management.txt
include/types/ssl_sock.h
src/ssl_sock.c