From 9302188a32fe2065927555a2a1d5438b8f128e1a Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 10 Nov 2015 01:20:40 +0000 Subject: Show current TLS certificate --- src/config/tlscerts.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config/tlscerts.h') diff --git a/src/config/tlscerts.h b/src/config/tlscerts.h index c3b273e7..e1ab4748 100644 --- a/src/config/tlscerts.h +++ b/src/config/tlscerts.h @@ -38,6 +38,7 @@ typedef struct tls_cert_t { char *fingerprint; char *domain; + char *subjectname; char *organisation; char *email; char *notbefore; @@ -46,9 +47,8 @@ typedef struct tls_cert_t { void tlscerts_init(void); -TLSCertificate* tlscerts_new(const char *const fingerprint, const char *const domain, - const char *const organisation, const char *const email, - const char *const notbefore, const char *const notafter); +TLSCertificate* tlscerts_new(const char *const fingerprint, const char *const subjectname, const char *const notbefore, + const char *const notafter); void tlscerts_set_current(const char *const fp); -- cgit 1.4.1-2-gfad0