summaryrefslogtreecommitdiff
path: root/lib/auth_dhe.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-06-22 14:52:37 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-06-22 14:52:37 +0000
commitea5da3f8fd0b439a847f9dca9376d0ebc94fbb38 (patch)
tree350311b44136139d56e9365f87383c24a86e8903 /lib/auth_dhe.c
parentf2ea2f1c95bc0fafdc51ac818cc0dd9546607cf2 (diff)
downloadgnutls-ea5da3f8fd0b439a847f9dca9376d0ebc94fbb38.tar.gz
The TLS handshake no longer fails if the X.509 extensions in the Certificate are critical and unsupported. The unsupported critical extensions are now only catched by the verification functions.
Diffstat (limited to 'lib/auth_dhe.c')
-rw-r--r--lib/auth_dhe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth_dhe.c b/lib/auth_dhe.c
index 4367e8df14..9d2df316ba 100644
--- a/lib/auth_dhe.c
+++ b/lib/auth_dhe.c
@@ -389,7 +389,7 @@ static int proc_dhe_server_kx(GNUTLS_STATE state, opaque * data,
case GNUTLS_CRT_X509:
if ((ret =
_gnutls_x509_cert2gnutls_cert( &peer_cert,
- info->raw_certificate_list[0])) < 0) {
+ info->raw_certificate_list[0], 1)) < 0) {
gnutls_assert();
return ret;
}