diff options
Diffstat (limited to 'src/lib/libtls/tls_internal.h')
-rw-r--r-- | src/lib/libtls/tls_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h index f0feddcf5b..78e6b1fe2b 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.9 2015/02/07 09:50:09 jsing Exp $ */ | 1 | /* $OpenBSD: tls_internal.h,v 1.10 2015/02/11 06:46:33 jsing 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> |
@@ -41,8 +41,8 @@ struct tls_config { | |||
41 | size_t key_len; | 41 | size_t key_len; |
42 | uint32_t protocols; | 42 | uint32_t protocols; |
43 | int verify_cert; | 43 | int verify_cert; |
44 | int verify_host; | ||
45 | int verify_depth; | 44 | int verify_depth; |
45 | int verify_name; | ||
46 | }; | 46 | }; |
47 | 47 | ||
48 | #define TLS_CLIENT (1 << 0) | 48 | #define TLS_CLIENT (1 << 0) |
@@ -66,7 +66,7 @@ struct tls { | |||
66 | struct tls *tls_new(void); | 66 | struct tls *tls_new(void); |
67 | struct tls *tls_server_conn(struct tls *ctx); | 67 | struct tls *tls_server_conn(struct tls *ctx); |
68 | 68 | ||
69 | int tls_check_hostname(struct tls *ctx, X509 *cert, const char *host); | 69 | int tls_check_servername(struct tls *ctx, X509 *cert, const char *servername); |
70 | int tls_configure_keypair(struct tls *ctx); | 70 | int tls_configure_keypair(struct tls *ctx); |
71 | int tls_configure_server(struct tls *ctx); | 71 | int tls_configure_server(struct tls *ctx); |
72 | int tls_configure_ssl(struct tls *ctx); | 72 | int tls_configure_ssl(struct tls *ctx); |