summaryrefslogtreecommitdiff
path: root/lib/vtls/gtls.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-12-25 16:14:53 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-12-28 23:34:30 +0100
commit8fbd6feddfa587cfd38d2a874f17d8580f01f511 (patch)
tree4e5e351ee5ea83bbf54bd7c520ff456134054f94 /lib/vtls/gtls.h
parentc148f0f551f9bea0e3d08f5747b3fe58b811a011 (diff)
downloadcurl-8fbd6feddfa587cfd38d2a874f17d8580f01f511.tar.gz
ngtcp2: verify the server certificate for the gnutls case
Closes #8178
Diffstat (limited to 'lib/vtls/gtls.h')
-rw-r--r--lib/vtls/gtls.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/vtls/gtls.h b/lib/vtls/gtls.h
index 1a146a3a9..226d3aebb 100644
--- a/lib/vtls/gtls.h
+++ b/lib/vtls/gtls.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -28,6 +28,10 @@
#include "urldata.h"
+CURLcode
+Curl_gtls_verifyserver(struct Curl_easy *data, struct connectdata *conn,
+ gnutls_session_t session,
+ int sockindex);
extern const struct Curl_ssl Curl_ssl_gnutls;
#endif /* USE_GNUTLS */