commit | d0fe595d690ba915fc026cbe2a45e7bbcc6b0673 | [log] [tgz] |
---|---|---|
author | roman <xjanot04@fit.vutbr.cz> | Thu Mar 21 15:59:33 2024 +0100 |
committer | roman <xjanot04@fit.vutbr.cz> | Thu Mar 21 15:59:33 2024 +0100 |
tree | 6b5c25f85530fb53d6d6534c5a7c3d67c07e2b07 | |
parent | 4f9e442485c45077bdb32cd4b886caeefc01bfac [diff] [blame] |
session server BUGIX fix x509 key null print
diff --git a/src/session.c b/src/session.c index 38d7d09..9091143 100644 --- a/src/session.c +++ b/src/session.c
@@ -111,13 +111,13 @@ { switch (format) { case NC_PRIVKEY_FORMAT_RSA: - return "RSA"; + return " RSA "; case NC_PRIVKEY_FORMAT_EC: - return "EC"; + return " EC "; case NC_PRIVKEY_FORMAT_X509: - return NULL; + return " "; case NC_PRIVKEY_FORMAT_OPENSSH: - return "OPENSSH"; + return " OPENSSH "; default: return NULL; }