]> git.ipfire.org Git - thirdparty/openvpn.git/commit - src/openvpn/ssl_common.h
crypto: Enable SHA256 fingerprint checking in --verify-hash
authorDavid Sommerseth <davids@openvpn.net>
Thu, 4 May 2017 20:42:01 +0000 (22:42 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 18 May 2017 11:21:50 +0000 (13:21 +0200)
commit2193d7c08484d56ed07ba2e649abc2d08adcb245
tree1adc1056f233af7641d5c77c6cf7978db61fadbe
parentcf9deedf425c945906d5cc482fb962796d21f123
crypto: Enable SHA256 fingerprint checking in --verify-hash

This enhances --verify-hash with an optional algorithm flag.  If not
provided, it defaults to SHA1 to preserve backwards compatbilitity with
existing configurations.  The only valid flags are SHA1 and SHA256.

In addition enhance the layout of the --verify-hash section in the man
page.

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <20170504204201.1257-1-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14538.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Changes.rst
doc/openvpn.8
src/openvpn/crypto_backend.h
src/openvpn/init.c
src/openvpn/options.c
src/openvpn/options.h
src/openvpn/ssl_common.h
src/openvpn/ssl_verify.c