aboutsummaryrefslogtreecommitdiff
path: root/src/IO/tls.h
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-11-24 16:56:17 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-11-24 17:07:17 +0100
commit1baacd434046adcdf7cace66750f34ba3fc78b52 (patch)
treea3cd57d23d6ca242b51000e668b10db61723da9a /src/IO/tls.h
parent5683fc63485590f6f35ed8978899e6d6a0eae4bb (diff)
Add support to query version in TLS backends
Diffstat (limited to 'src/IO/tls.h')
-rw-r--r--src/IO/tls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/IO/tls.h b/src/IO/tls.h
index 500b2421..0d50c05b 100644
--- a/src/IO/tls.h
+++ b/src/IO/tls.h
@@ -4,7 +4,7 @@
* Copyright (C) 2011 Benjamin Johnson <obeythepenguin@users.sourceforge.net>
* (for the https code offered from dplus browser that formed the basis...)
* Copyright 2016 corvid
- * Copyright (C) 2023 Rodrigo Arias Mallo <rodarima@gmail.com>
+ * Copyright (C) 2023-2024 Rodrigo Arias Mallo <rodarima@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,6 +31,7 @@ extern "C" {
#define TLS_CONNECT_NOT_YET 0
#define TLS_CONNECT_READY 1
+const char *a_Tls_version(char *buf, int n);
void a_Tls_init(void);
int a_Tls_certificate_is_clean(const DilloUrl *url);
int a_Tls_connect_ready(const DilloUrl *url);