diff options
| author | beck <> | 2015-09-09 19:23:04 +0000 |
|---|---|---|
| committer | beck <> | 2015-09-09 19:23:04 +0000 |
| commit | cc008b2d6bedfbbad46502f4d5ac035f96f3a623 (patch) | |
| tree | 54b585991caa7fede927175ee5ff75d793342b8f /src/lib/libtls/tls.h | |
| parent | 8e3f7ae09db7a69fa93309c91e8f6b29f5bf53db (diff) | |
| download | openbsd-cc008b2d6bedfbbad46502f4d5ac035f96f3a623.tar.gz openbsd-cc008b2d6bedfbbad46502f4d5ac035f96f3a623.tar.bz2 openbsd-cc008b2d6bedfbbad46502f4d5ac035f96f3a623.zip | |
Add client certificate support. Still needs a few tweaks but this will
ride upcoming minor bump
ok jsing@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libtls/tls.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h index cb02ee8824..1a6257232c 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls.h,v 1.13 2015/06/19 06:20:11 bcook Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.14 2015/09/09 19:23:04 beck Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -73,6 +73,9 @@ void tls_config_insecure_noverifycert(struct tls_config *_config); | |||
| 73 | void tls_config_insecure_noverifyname(struct tls_config *_config); | 73 | void tls_config_insecure_noverifyname(struct tls_config *_config); |
| 74 | void tls_config_verify(struct tls_config *_config); | 74 | void tls_config_verify(struct tls_config *_config); |
| 75 | 75 | ||
| 76 | void tls_config_verify_client(struct tls_config *_config); | ||
| 77 | void tls_config_verify_client_optional(struct tls_config *_config); | ||
| 78 | |||
| 76 | struct tls *tls_client(void); | 79 | struct tls *tls_client(void); |
| 77 | struct tls *tls_server(void); | 80 | struct tls *tls_server(void); |
| 78 | int tls_configure(struct tls *_ctx, struct tls_config *_config); | 81 | int tls_configure(struct tls *_ctx, struct tls_config *_config); |
