session server tls BUGFIX fix spaces in key type
diff --git a/src/session_server_tls.c b/src/session_server_tls.c
index 294d150..1db33f7 100644
--- a/src/session_server_tls.c
+++ b/src/session_server_tls.c
@@ -125,8 +125,8 @@
NC_CHECK_ARG_RET(NULL, in, NULL);
- if (asprintf(&buf, "%s%s%s%s%s%s%s", "-----BEGIN ", key_str, " PRIVATE KEY-----\n", in, "\n-----END ",
- key_str, " PRIVATE KEY-----") == -1) {
+ if (asprintf(&buf, "%s%s%s%s%s%s%s", "-----BEGIN", key_str, "PRIVATE KEY-----\n", in, "\n-----END",
+ key_str, "PRIVATE KEY-----") == -1) {
ERRMEM;
return NULL;
}