summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_internal.h
diff options
context:
space:
mode:
authorbcook <>2014-12-07 15:48:02 +0000
committerbcook <>2014-12-07 15:48:02 +0000
commit2a5c8a2aac92f6b7274d00080eb7e865b9d4ff56 (patch)
treec6456769d33b656c4b41c93e46127e6e910588d8 /src/lib/libtls/tls_internal.h
parent779d36f71d8c3200b1259a34322fa222e3b651ef (diff)
downloadopenbsd-2a5c8a2aac92f6b7274d00080eb7e865b9d4ff56.tar.gz
openbsd-2a5c8a2aac92f6b7274d00080eb7e865b9d4ff56.tar.bz2
openbsd-2a5c8a2aac92f6b7274d00080eb7e865b9d4ff56.zip
revert previous change for now, adjusting based on comments from jsing@
Diffstat (limited to 'src/lib/libtls/tls_internal.h')
-rw-r--r--src/lib/libtls/tls_internal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h
index e6f2d4ac71..a23e63f7af 100644
--- a/src/lib/libtls/tls_internal.h
+++ b/src/lib/libtls/tls_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls_internal.h,v 1.2 2014/12/07 15:00:32 bcook Exp $ */ 1/* $OpenBSD: tls_internal.h,v 1.3 2014/12/07 15:48:02 bcook Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> 3 * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org>
4 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
@@ -62,12 +62,11 @@ struct tls {
62struct tls *tls_new(void); 62struct tls *tls_new(void);
63struct tls *tls_server_conn(struct tls *ctx); 63struct tls *tls_server_conn(struct tls *ctx);
64 64
65int tls_check_hostname(struct tls *ctx, X509 *cert, const char *host); 65int tls_check_hostname(X509 *cert, const char *host);
66int tls_configure_keypair(struct tls *ctx); 66int tls_configure_keypair(struct tls *ctx);
67int tls_configure_server(struct tls *ctx); 67int tls_configure_server(struct tls *ctx);
68int tls_configure_ssl(struct tls *ctx); 68int tls_configure_ssl(struct tls *ctx);
69int tls_host_port(const char *hostport, char **host, char **port); 69int tls_host_port(const char *hostport, char **host, char **port);
70void tls_clear_error(struct tls *ctx);
71int tls_set_error(struct tls *ctx, char *fmt, ...); 70int tls_set_error(struct tls *ctx, char *fmt, ...);
72 71
73#endif /* HEADER_TLS_INTERNAL_H */ 72#endif /* HEADER_TLS_INTERNAL_H */