Commit a060effb authored by Nikos Mavrogiannopoulos's avatar Nikos Mavrogiannopoulos Committed by David Woodhouse

Switched the default output for key PIN to be the RFC7469 key PIN

Signed-off-by: default avatarNikos Mavrogiannopoulos <>
Signed-off-by: default avatarDavid Woodhouse <>
parent f2eb598e
......@@ -1031,7 +1031,7 @@ const char *openconnect_get_cstp_cipher(struct openconnect_info *vpninfo)
const char *openconnect_get_peer_cert_hash(struct openconnect_info *vpninfo)
if (vpninfo->peer_cert_hash == NULL)
vpninfo->peer_cert_hash = openconnect_bin2hex("sha256:", vpninfo->peer_cert_sha256_raw, sizeof(vpninfo->peer_cert_sha256_raw));
vpninfo->peer_cert_hash = openconnect_bin2base64("pin-sha256:", vpninfo->peer_cert_sha256_raw, sizeof(vpninfo->peer_cert_sha256_raw));
return vpninfo->peer_cert_hash;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment