summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libtls/tls_internal.h')
-rw-r--r--src/lib/libtls/tls_internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h
index b070b326c1..b203b5662e 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.25 2015/09/29 13:10:53 jsing Exp $ */ 1/* $OpenBSD: tls_internal.h,v 1.26 2015/10/07 23:33:38 beck 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>
@@ -65,6 +65,8 @@ struct tls_conninfo {
65 char *fingerprint; 65 char *fingerprint;
66 char *version; 66 char *version;
67 char *cipher; 67 char *cipher;
68 time_t notbefore;
69 time_t notafter;
68}; 70};
69 71
70#define TLS_CLIENT (1 << 0) 72#define TLS_CLIENT (1 << 0)
@@ -113,4 +115,6 @@ int tls_ssl_error(struct tls *ctx, SSL *ssl_conn, int ssl_ret,
113int tls_get_conninfo(struct tls *ctx); 115int tls_get_conninfo(struct tls *ctx);
114void tls_free_conninfo(struct tls_conninfo *conninfo); 116void tls_free_conninfo(struct tls_conninfo *conninfo);
115 117
118int asn1_time_parse(const char *, size_t, struct tm *, int);
119
116#endif /* HEADER_TLS_INTERNAL_H */ 120#endif /* HEADER_TLS_INTERNAL_H */