diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-06-13 18:15:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-06-13 18:15:59 +0000 |
commit | 300678221a1a0352524fc9e01953ca8bbdddcd59 (patch) | |
tree | 5d5e131641ae01a10872a2b554f3e53db53b44a2 /src/tools | |
parent | 546209a4de77402755121c75f1b8fc3083d0c82a (diff) | |
download | tor-300678221a1a0352524fc9e01953ca8bbdddcd59.tar.gz tor-300678221a1a0352524fc9e01953ca8bbdddcd59.zip |
r13385@catbus: nickm | 2007-06-13 14:14:47 -0400
In tor-gencert, write BEGIN SIGNATURE, not BEGIN_SIGNATURE.
svn:r10585
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/tor-gencert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c index c879c9760c..1dd9c9e59b 100644 --- a/src/tools/tor-gencert.c +++ b/src/tools/tor-gencert.c @@ -344,10 +344,10 @@ generate_certificate(void) (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", |