summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2016-08-15 15:41:50 +0000
committerjsing <>2016-08-15 15:41:50 +0000
commit1ebe97abaa0208191cfb4eb766ca380fd0c64132 (patch)
tree2973d744bccba118e0f63be2087658ea11fb47f9 /src
parent3d831cc27493852b5406258a291674d5e72dac97 (diff)
downloadopenbsd-1ebe97abaa0208191cfb4eb766ca380fd0c64132.tar.gz
openbsd-1ebe97abaa0208191cfb4eb766ca380fd0c64132.tar.bz2
openbsd-1ebe97abaa0208191cfb4eb766ca380fd0c64132.zip
Group conninfo fields by connection and peer cert based information,
sort and remove unused fingerprint.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libtls/tls_internal.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h
index f266996a4c..e9a8b3340d 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.37 2016/08/15 14:04:23 jsing Exp $ */ 1/* $OpenBSD: tls_internal.h,v 1.38 2016/08/15 15:41:50 jsing 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,13 +73,14 @@ struct tls_config {
73 73
74struct tls_conninfo { 74struct tls_conninfo {
75 char *alpn; 75 char *alpn;
76 char *cipher;
77 char *version;
78
79 char *hash;
76 char *issuer; 80 char *issuer;
77 char *subject; 81 char *subject;
78 char *hash;
79 char *serial; 82 char *serial;
80 char *fingerprint; 83
81 char *version;
82 char *cipher;
83 time_t notbefore; 84 time_t notbefore;
84 time_t notafter; 85 time_t notafter;
85}; 86};