Group conninfo fields by connection and peer cert based information,
authorjsing <jsing@openbsd.org>
Mon, 15 Aug 2016 15:41:50 +0000 (15:41 +0000)
committerjsing <jsing@openbsd.org>
Mon, 15 Aug 2016 15:41:50 +0000 (15:41 +0000)
sort and remove unused fingerprint.

lib/libtls/tls_internal.h

index f266996..e9a8b33 100644 (file)
@@ -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;
 };