diff options
| author | beck <> | 2015-09-11 12:56:55 +0000 |
|---|---|---|
| committer | beck <> | 2015-09-11 12:56:55 +0000 |
| commit | 27e5e00bb80457049b7e7613f43e8f1165402316 (patch) | |
| tree | 6080d52d99050fc94d1bd00cdb70fd607c96d262 /src/lib/libtls/tls_internal.h | |
| parent | eafebfdd3adba0417a72d6cc8a75f367fc2fbbdb (diff) | |
| download | openbsd-27e5e00bb80457049b7e7613f43e8f1165402316.tar.gz openbsd-27e5e00bb80457049b7e7613f43e8f1165402316.tar.bz2 openbsd-27e5e00bb80457049b7e7613f43e8f1165402316.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); |
