summaryrefslogtreecommitdiff
path: root/lib/tls13
diff options
context:
space:
mode:
authorTom Vrancken <email@tomvrancken.nl>2017-08-26 14:22:44 +0200
committerTom Vrancken <dev@tomvrancken.nl>2018-12-15 19:05:03 +0100
commit565efaeac828e89d2c1bac7a88c27303d1b62547 (patch)
tree5cc0e7c43c4933b743d2ba5889bad13f86e98323 /lib/tls13
parent71276d301a602926e44df818259ba1d99264a179 (diff)
downloadgnutls-565efaeac828e89d2c1bac7a88c27303d1b62547.tar.gz
Implemented support for raw public-key functionality (RFC7250).
Signed-off-by: Tom Vrancken <dev@tomvrancken.nl>
Diffstat (limited to 'lib/tls13')
-rw-r--r--lib/tls13/certificate_verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tls13/certificate_verify.c b/lib/tls13/certificate_verify.c
index 01966b14d1..26c93d2c1d 100644
--- a/lib/tls13/certificate_verify.c
+++ b/lib/tls13/certificate_verify.c
@@ -113,7 +113,7 @@ int _gnutls13_recv_certificate_verify(gnutls_session_t session)
/* We verify the certificate of the peer. Therefore we need to
* retrieve the negotiated certificate type for the peer. */
- cert_type = gnutls_certificate_type_get2(session, GNUTLS_CTYPE_PEERS);
+ cert_type = get_certificate_type(session, GNUTLS_CTYPE_PEERS);
/* Verify the signature */
ret = _gnutls_get_auth_info_pcert(&peer_cert, cert_type, info);