summaryrefslogtreecommitdiff
path: root/src/include/tls_remote.h
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
commita6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (patch)
treeb88cc7a8457658d67e0321718556ac807f6bccf3 /src/include/tls_remote.h
parent00be7622c428f279872f84569f098ce16150f8a8 (diff)
format files
Diffstat (limited to 'src/include/tls_remote.h')
-rw-r--r--src/include/tls_remote.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/tls_remote.h b/src/include/tls_remote.h
index c3c7933..7df0776 100644
--- a/src/include/tls_remote.h
+++ b/src/include/tls_remote.h
@@ -5,7 +5,7 @@
/* the version is like this: 0xMNNFFPPS: major minor fix patch status */
#if OPENSSL_VERSION_NUMBER < 0x00908000L
-# error "Need OpenSSL version at least 0.9.8"
+ #error "Need OpenSSL version at least 0.9.8"
#endif
extern char *tlsdestinfo;
@@ -16,17 +16,17 @@ extern stralloc ciphers;
int tls_domaincerts(const stralloc);
int tls_destination(const stralloc);
-int tlsa_check(const STACK_OF(X509) *,const stralloc,const unsigned long);
-int tls_fingerprint(X509 *,const char *,const int);
-int tls_chainfile(SSL_CTX *,const char *);
-int tls_certkey(SSL_CTX *,const char *,const char *,char *);
-int tls_conn(SSL *,int);
-int tls_setup(int,char *,char *);
-int tls_checkpeer(SSL *,X509 *,const stralloc,const int,const int);
+int tlsa_check(const STACK_OF(X509) *, const stralloc, const unsigned long);
+int tls_fingerprint(X509 *, const char *, const int);
+int tls_chainfile(SSL_CTX *, const char *);
+int tls_certkey(SSL_CTX *, const char *, const char *, char *);
+int tls_conn(SSL *, int);
+int tls_setup(int, char *, char *);
+int tls_checkpeer(SSL *, X509 *, const stralloc, const int, const int);
int tls_checkcrl(SSL *);
int tls_error(void);
int tls_exit(SSL *);
-int utf8string(unsigned char *,int);
+int utf8string(unsigned char *, int);
#endif