aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-04-27 18:55:07 +1200
committerDavid Phillips <david@sighup.nz>2017-04-27 18:55:07 +1200
commita6245af58eccd4ba7097bff72325cb05f5f02c61 (patch)
treeba91acdc06d439d90c082a982c4c30b72b085866
parent086da63ee2f47957ae13110674fef82049ec2d03 (diff)
downloadsand-leek-a6245af58eccd4ba7097bff72325cb05f5f02c61.tar.xz
Correct openssl_version_number macro
-rw-r--r--sand-leek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sand-leek.c b/sand-leek.c
index 8a6b14a..4327f4d 100644
--- a/sand-leek.c
+++ b/sand-leek.c
@@ -110,7 +110,7 @@ work(void *arg) {
if(strncmp(b32, search, search_len) == 0) {
printf("Found %s.onion\n", b32);
-#if OPENSSL_VERSION >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
/* update the BN e with working e */
BN_set_word(be, e);
RSA_set0_key(rsa_key, NULL, be, NULL);