Have tls_keypair_pubkey_hash() call tls_keypair_load_cert() instead of
authorjsing <jsing@openbsd.org>
Thu, 8 Feb 2018 10:19:31 +0000 (10:19 +0000)
committerjsing <jsing@openbsd.org>
Thu, 8 Feb 2018 10:19:31 +0000 (10:19 +0000)
commit34002f5dd1e291f68a4219590c2f593048a43634
tree533fc6a989570d3ebdb000b39ce9690fe2493e4d
parent7ad73a068ec8dfff02ce21cb1fb8f8d7d8fdd826
Have tls_keypair_pubkey_hash() call tls_keypair_load_cert() instead of
rolling its own certificate loading. This also means we get better error
reporting on failure.
lib/libtls/tls.c
lib/libtls/tls_internal.h
lib/libtls/tls_keypair.c