diff options
author | Brent Cook <bcook@cvs.openbsd.org> | 2014-12-07 15:48:03 +0000 |
---|---|---|
committer | Brent Cook <bcook@cvs.openbsd.org> | 2014-12-07 15:48:03 +0000 |
commit | a0bfeb90454e0ba71095c63f7d33f0ae6e4dd3ac (patch) | |
tree | 0efb7e6fb4651a9f10dfb64b4619a9152c14bb1c /lib/libtls/tls_internal.h | |
parent | 64e518013e63e470abd799de5795c4c806532c1e (diff) |
revert previous change for now, adjusting based on comments from jsing@
Diffstat (limited to 'lib/libtls/tls_internal.h')
-rw-r--r-- | lib/libtls/tls_internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libtls/tls_internal.h b/lib/libtls/tls_internal.h index e6f2d4ac714..a23e63f7af4 100644 --- a/lib/libtls/tls_internal.h +++ b/lib/libtls/tls_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_internal.h,v 1.2 2014/12/07 15:00:32 bcook Exp $ */ +/* $OpenBSD: tls_internal.h,v 1.3 2014/12/07 15:48:02 bcook Exp $ */ /* * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> @@ -62,12 +62,11 @@ struct tls { struct tls *tls_new(void); struct tls *tls_server_conn(struct tls *ctx); -int tls_check_hostname(struct tls *ctx, X509 *cert, const char *host); +int tls_check_hostname(X509 *cert, const char *host); int tls_configure_keypair(struct tls *ctx); int tls_configure_server(struct tls *ctx); int tls_configure_ssl(struct tls *ctx); int tls_host_port(const char *hostport, char **host, char **port); -void tls_clear_error(struct tls *ctx); int tls_set_error(struct tls *ctx, char *fmt, ...); #endif /* HEADER_TLS_INTERNAL_H */ |