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-25 21:53:51 +0100
commit08bcfd8b2d0b582b65b2669615139fe17fac05d4 (patch)
treeb97ae1e3b46b871f1c7e57255c9be33be4f558f2 /lib/vtls/gtls.h
parent7dae4f2b5a2c5de0ef39642a046bee80a1b9e8f1 (diff)
downloadcurl-08bcfd8b2d0b582b65b2669615139fe17fac05d4.tar.gz
ngtcp2: verify the server certificate for the gnutls casebagder/http3-ngtcp2-cacert
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 */