summaryrefslogtreecommitdiff
path: root/lib/libtls
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2016-08-15 15:41:51 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2016-08-15 15:41:51 +0000
commit1830acd8526ffb798f783c5eb03817875fe63666 (patch)
tree07c961fdbb8f56548047d06885c50479eaddfcb0 /lib/libtls
parent84c467d0f637cc1bef1decb985ce57531247c7b3 (diff)
Group conninfo fields by connection and peer cert based information,
sort and remove unused fingerprint.
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/tls_internal.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libtls/tls_internal.h b/lib/libtls/tls_internal.h
index f266996a4c6..e9a8b3340d2 100644
--- a/lib/libtls/tls_internal.h
+++ b/lib/libtls/tls_internal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_internal.h,v 1.37 2016/08/15 14:04:23 jsing Exp $ */
+/* $OpenBSD: tls_internal.h,v 1.38 2016/08/15 15:41:50 jsing Exp $ */
/*
* Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org>
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
@@ -73,13 +73,14 @@ struct tls_config {
struct tls_conninfo {
char *alpn;
+ char *cipher;
+ char *version;
+
+ char *hash;
char *issuer;
char *subject;
- char *hash;
char *serial;
- char *fingerprint;
- char *version;
- char *cipher;
+
time_t notbefore;
time_t notafter;
};