/* LibreSSL defines OPENSSL_VERSION_NUMBER but sets it to 0x20000000L.
* So technically we don't need the defined(OPENSSL_VERSION_NUMBER) check. */
-#if (defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100000L) || \
- (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
+#if (defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER < 0x10100000L)) || \
+ (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER < 0x2070000fL))
#define X509_get0_notBefore X509_get_notBefore
#define X509_get0_notAfter X509_get_notAfter
#define X509_getm_notBefore X509_get_notBefore
/* OpenSSL performs automatic initialization as of 1.1.
* However LibreSSL does not (as of 2.8.3). */
-#if (defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100000L) || \
+#if (defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER < 0x10100000L)) || \
(defined(LIBRESSL_VERSION_NUMBER))
/* I don't think you can do this just before reading the error. The call
* itself might clobber the last SSL error. */
return mutt_str_strdup(tempf);
}
-#if GPGME_VERSION_NUMBER >= 0x010b00 /* gpgme >= 1.11.0 */
-
+#if (GPGME_VERSION_NUMBER >= 0x010b00) /* gpgme >= 1.11.0 */
/**
* create_recipient_string - Create a string of recipients
* @param keylist Keys, space-separated
return rset;
}
-
#endif /* GPGME_VERSION_NUMBER >= 0x010b00 */
/**
goto cleanup;
}
-#if GPGME_VERSION_NUMBER >= 0x010b00 /* gpgme >= 1.11.0 */
+#if (GPGME_VERSION_NUMBER >= 0x010b00) /* gpgme >= 1.11.0 */
err = gpgme_op_encrypt_sign_ext(ctx, NULL, mutt_b2s(recpstring),
GPGME_ENCRYPT_ALWAYS_TRUST, plaintext, ciphertext);
#else
}
else
{
-#if GPGME_VERSION_NUMBER >= 0x010b00 /* gpgme >= 1.11.0 */
+#if (GPGME_VERSION_NUMBER >= 0x010b00) /* gpgme >= 1.11.0 */
err = gpgme_op_encrypt_ext(ctx, NULL, mutt_b2s(recpstring),
GPGME_ENCRYPT_ALWAYS_TRUST, plaintext, ciphertext);
#else