Skip to content
Snippets Groups Projects
Commit 4fdbc302 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Removed extra newline in simple_build_pem() to comply with defacto

standard.

Rev: lib/modules/Tools.pmod/PEM.pmod:1.6
parent 6686879f
No related branches found
No related tags found
No related merge requests found
...@@ -227,7 +227,7 @@ class pem_msg ...@@ -227,7 +227,7 @@ class pem_msg
/* Doesn't use general rfc934 headers and boundaries */ /* Doesn't use general rfc934 headers and boundaries */
string simple_build_pem(string tag, string data) string simple_build_pem(string tag, string data)
{ {
return sprintf("-----BEGIN %s-----\n\n" return sprintf("-----BEGIN %s-----\n"
"%s\n" "%s\n"
"-----END %s-----\n", "-----END %s-----\n",
tag, MIME.encode_base64(data), tag); tag, MIME.encode_base64(data), tag);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment