diff options
author | beck <> | 2015-09-11 12:56:55 +0000 |
---|---|---|
committer | beck <> | 2015-09-11 12:56:55 +0000 |
commit | 68048eefb0353c6cb686c092af50ba61fca67874 (patch) | |
tree | 6080d52d99050fc94d1bd00cdb70fd607c96d262 /src/lib/libtls/tls_internal.h | |
parent | 656ef1e2adb75d20a81b8763a2088b2c8e6c3058 (diff) | |
download | openbsd-68048eefb0353c6cb686c092af50ba61fca67874.tar.gz openbsd-68048eefb0353c6cb686c092af50ba61fca67874.tar.bz2 openbsd-68048eefb0353c6cb686c092af50ba61fca67874.zip |
add tls_peer functions for checking names and issuers of peer certificates.
ok jsing@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libtls/tls_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h index b514847cfe..34af0fb48a 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.19 2015/09/11 09:24:54 jsing Exp $ */ | 1 | /* $OpenBSD: tls_internal.h,v 1.20 2015/09/11 12:56:55 beck 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> |
@@ -73,7 +73,7 @@ struct tls { | |||
73 | struct tls *tls_new(void); | 73 | struct tls *tls_new(void); |
74 | struct tls *tls_server_conn(struct tls *ctx); | 74 | struct tls *tls_server_conn(struct tls *ctx); |
75 | 75 | ||
76 | int tls_check_servername(struct tls *ctx, X509 *cert, const char *servername); | 76 | int tls_check_name(struct tls *ctx, X509 *cert, const char *servername); |
77 | int tls_configure_keypair(struct tls *ctx, int); | 77 | int tls_configure_keypair(struct tls *ctx, int); |
78 | int tls_configure_server(struct tls *ctx); | 78 | int tls_configure_server(struct tls *ctx); |
79 | int tls_configure_ssl(struct tls *ctx); | 79 | int tls_configure_ssl(struct tls *ctx); |