Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Switched the default output for key PIN to be the RFC7469 key PIN
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
nmav authored and dwmw2 committed May 15, 2017
1 parent f2eb598 commit a060eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit a060eff

Please sign in to comment.