summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-12-02 23:13:40 +0000
committerRoger Dingledine <arma@torproject.org>2008-12-02 23:13:40 +0000
commit330218c7f75ed2a14e5b5cf8322932c9c42ce758 (patch)
tree15e18cf0a12c5caaefafd9fe33b248ffe718e78b
parent1b95a8e68a7465cb3a3a9a7c1dad5b3331423e12 (diff)
downloadtor-330218c7f75ed2a14e5b5cf8322932c9c42ce758.tar.gz
tor-330218c7f75ed2a14e5b5cf8322932c9c42ce758.zip
#include "orconfig.h" in tor-checkkey.c to see if we can resolve
an obscure compile warning on solaris svn:r17453
-rw-r--r--src/tools/tor-checkkey.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/tor-checkkey.c b/src/tools/tor-checkkey.c
index e0be6d7287..7807b541b9 100644
--- a/src/tools/tor-checkkey.c
+++ b/src/tools/tor-checkkey.c
@@ -1,6 +1,8 @@
#define CRYPTO_PRIVATE
+#include "orconfig.h"
+
#include <stdio.h>
#include <stdlib.h>
#include "crypto.h"
@@ -18,7 +20,9 @@ int main(int c, char **v)
init_logging();
if (c < 2) {
- fprintf(stderr, "Hi. I'm tor-checkkey. Tell me a filename that has a PEM-encoded RSA public key (like in a cert) and I'll dump the modulus.\n");
+ fprintf(stderr, "Hi. I'm tor-checkkey. Tell me a filename that "
+ "has a PEM-encoded RSA public key (like in a cert) and I'll "
+ "dump the modulus.\n");
return 1;
}
@@ -47,3 +51,4 @@ int main(int c, char **v)
return 0;
}
+