- Fix SSL compile failure for definition in log_crypto_err_io_code_arg.
- Fix SSL compile failure for other missing definitions in
log_crypto_err_io_code_arg.
+ - Fix compilation without openssl, remove unused function warning.
31 October 2023: George
- Fix #941: dnscrypt doesn't work after upgrade to 1.18 with
#endif /* HAVE_SSL */
}
+#ifdef HAVE_SSL
/** Print crypt erro with SSL_get_error want code and err_get_error code */
static void log_crypto_err_io_code_arg(const char* str, int r,
unsigned long err, int err_present)
{
-#ifdef HAVE_SSL
int print_errno = 0, print_crypto_err = 0;
const char* inf = NULL;
log_err("str: %s", inf);
}
}
-#else
- (void)str;
- (void)r;
- (void)err;
- (void)err_present;
-#endif /* HAVE_SSL */
}
+#endif /* HAVE_SSL */
void log_crypto_err_io(const char* str, int r)
{