diff options
| author | beck <> | 2015-09-13 10:32:46 +0000 |
|---|---|---|
| committer | beck <> | 2015-09-13 10:32:46 +0000 |
| commit | df0931f786c1fc48e0afbcb8af46540728db3397 (patch) | |
| tree | aab2e062ca9f5654643e90c10a858b88227429bb /src/lib/libtls/tls.h | |
| parent | 83f57d181d785f30f940e80aab02506a0ccdffb8 (diff) | |
| download | openbsd-df0931f786c1fc48e0afbcb8af46540728db3397.tar.gz openbsd-df0931f786c1fc48e0afbcb8af46540728db3397.tar.bz2 openbsd-df0931f786c1fc48e0afbcb8af46540728db3397.zip | |
add visibility of ciper and connection version strings
ok jsing@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libtls/tls.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h index 2f91ea68ba..442fe35064 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls.h,v 1.22 2015/09/12 21:00:38 beck Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.23 2015/09/13 10:32:46 beck Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -105,6 +105,8 @@ int tls_peer_cert_contains_name(struct tls *ctx, const char *name); | |||
| 105 | const char * tls_peer_cert_hash(struct tls *_ctx); | 105 | const char * tls_peer_cert_hash(struct tls *_ctx); |
| 106 | const char * tls_peer_cert_issuer(struct tls *ctx); | 106 | const char * tls_peer_cert_issuer(struct tls *ctx); |
| 107 | const char * tls_peer_cert_subject(struct tls *ctx); | 107 | const char * tls_peer_cert_subject(struct tls *ctx); |
| 108 | const char * tls_conn_version(struct tls *ctx); | ||
| 109 | const char * tls_conn_cipher(struct tls *ctx); | ||
| 108 | 110 | ||
| 109 | uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password); | 111 | uint8_t *tls_load_file(const char *_file, size_t *_len, char *_password); |
| 110 | 112 | ||
