]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix #ifdef to test for something we set at configuration time.
authorGuy Harris <[email protected]>
Mon, 20 Jan 2020 19:19:39 +0000 (11:19 -0800)
committerGuy Harris <[email protected]>
Mon, 20 Jan 2020 19:19:39 +0000 (11:19 -0800)
print-esp.c

index 844522ec269bb38ddb62a30bc962426d601b31c1..91d394ff61de8dc6f3d41db7e9b9030cd08c3d2c 100644 (file)
@@ -145,7 +145,7 @@ EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx)
 }
 #endif
 
 }
 #endif
 
-#ifdef HAVE_EVP_CIPHERINIT_EX
+#ifdef HAVE_EVP_DECRYPTINIT_EX
 /*
  * Initialize the cipher by calling EVP_DecryptInit_ex(), because
  * calling EVP_DecryptInit() will reset the cipher context, clearing
 /*
  * Initialize the cipher by calling EVP_DecryptInit_ex(), because
  * calling EVP_DecryptInit() will reset the cipher context, clearing