diff options
Diffstat (limited to 'src/lib/libtls/tls.h')
-rw-r--r-- | src/lib/libtls/tls.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h index 3cb24f0ee5..3d1682e2b6 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls.h,v 1.19 2015/09/11 11:28:01 jsing Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.20 2015/09/11 12:56:55 beck Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -76,6 +76,11 @@ void tls_config_verify(struct tls_config *_config); | |||
76 | void tls_config_verify_client(struct tls_config *_config); | 76 | void tls_config_verify_client(struct tls_config *_config); |
77 | void tls_config_verify_client_optional(struct tls_config *_config); | 77 | void tls_config_verify_client_optional(struct tls_config *_config); |
78 | 78 | ||
79 | int tls_peer_cert_provided(struct tls *ctx); | ||
80 | int tls_peer_cert_contains_name(struct tls *ctx, const char *name); | ||
81 | int tls_peer_cert_issuer(struct tls *ctx, char **name); | ||
82 | int tls_peer_cert_subject(struct tls *ctx, char **subject); | ||
83 | |||
79 | void tls_config_clear_keys(struct tls_config *_config); | 84 | void tls_config_clear_keys(struct tls_config *_config); |
80 | int tls_config_parse_protocols(uint32_t *_protocols, const char *_protostr); | 85 | int tls_config_parse_protocols(uint32_t *_protocols, const char *_protostr); |
81 | 86 | ||