Since they are testing a condition, they should be #if not #ifdef.
Fixes: 077141058aab ("pppd: Add additional functions to handle debugging of crypto calls (#509)", 2024-09-02)
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
return;
}
-#ifdef OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
ERR_load_crypto_strings();
#endif
error("%s, %s\n", buf, ERR_reason_error_string(err));
}
#endif
-#ifdef OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
ERR_free_strings();
#endif
return 1;