about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorSteffen Jaeckel <jaeckel-floss@eyet-services.de>2022-03-21 14:34:15 +0100
committerSteffen Jaeckel <jaeckel-floss@eyet-services.de>2022-03-22 11:34:23 +0100
commit7c56eac154927e344c4720cad059e9a9752e16d5 (patch)
treee07be4d663f7b20b73938b8c4f1f00d86b059014 /src/xmpp
parent44e65f3089e49a769a0251df659ff27702417950 (diff)
downloadprofani-tty-7c56eac154927e344c4720cad059e9a9752e16d5.tar.gz
also store PEM in `TLSCertificate`
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c
index d601de22..54bb1449 100644
--- a/src/xmpp/connection.c
+++ b/src/xmpp/connection.c
@@ -1100,7 +1100,8 @@ _xmppcert_to_profcert(const xmpp_tlscert_t* xmpptlscert)
         xmpp_tlscert_get_string(xmpptlscert, XMPP_CERT_NOTBEFORE),
         xmpp_tlscert_get_string(xmpptlscert, XMPP_CERT_NOTAFTER),
         xmpp_tlscert_get_string(xmpptlscert, XMPP_CERT_KEYALG),
-        xmpp_tlscert_get_string(xmpptlscert, XMPP_CERT_SIGALG));
+        xmpp_tlscert_get_string(xmpptlscert, XMPP_CERT_SIGALG),
+        xmpp_tlscert_get_pem(xmpptlscert));
 }
 
 static xmpp_log_t*