[or-cvs] r10585: In tor-gencert, write BEGIN SIGNATURE, not BEGIN_SIGNATURE. (in tor/trunk: . src/tools)

nickm at seul.org nickm at seul.org
Wed Jun 13 18:15:59 UTC 2007


Author: nickm
Date: 2007-06-13 14:15:59 -0400 (Wed, 13 Jun 2007)
New Revision: 10585

Modified:
   tor/trunk/
   tor/trunk/src/tools/tor-gencert.c
Log:
 r13385 at catbus:  nickm | 2007-06-13 14:14:47 -0400
 In tor-gencert, write BEGIN SIGNATURE, not BEGIN_SIGNATURE.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r13385] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/tools/tor-gencert.c
===================================================================
--- tor/trunk/src/tools/tor-gencert.c	2007-06-13 18:15:56 UTC (rev 10584)
+++ tor/trunk/src/tools/tor-gencert.c	2007-06-13 18:15:59 UTC (rev 10585)
@@ -344,10 +344,10 @@
                           (unsigned char*)signature,
                           EVP_PKEY_get1_RSA(identity_key),
                           RSA_PKCS1_PADDING);
-  strlcat(buf, "-----BEGIN_SIGNATURE-----\n", sizeof(buf));
+  strlcat(buf, "-----BEGIN SIGNATURE-----\n", sizeof(buf));
   signed_len = strlen(buf);
   base64_encode(buf+signed_len, sizeof(buf)-signed_len, signature, r);
-  strlcat(buf, "-----END_SIGNATURE-----\n", sizeof(buf));
+  strlcat(buf, "-----END SIGNATURE-----\n", sizeof(buf));
 
   if (!(f = fopen(certificate_file, "w"))) {
     log_err(LD_GENERAL, "Couldn't open %s for writing: %s",



More information about the tor-commits mailing list