Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl.old/dist/crypto #if not #ifdef



details:   https://anonhg.NetBSD.org/src/rev/03935b1ce36e
branches:  trunk
changeset: 829536:03935b1ce36e
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 05 11:55:46 2018 +0000

description:
#if not #ifdef

diffstat:

 crypto/external/bsd/openssl.old/dist/crypto/dh/dh.h       |  2 +-
 crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa.h     |  2 +-
 crypto/external/bsd/openssl.old/dist/crypto/ecdsa/ecdsa.h |  2 +-
 crypto/external/bsd/openssl.old/dist/crypto/evp/evp.h     |  2 +-
 crypto/external/bsd/openssl.old/dist/crypto/hmac/hmac.h   |  2 +-
 crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa.h     |  2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diffs (72 lines):

diff -r 225640584dd3 -r 03935b1ce36e crypto/external/bsd/openssl.old/dist/crypto/dh/dh.h
--- a/crypto/external/bsd/openssl.old/dist/crypto/dh/dh.h       Mon Feb 05 11:52:32 2018 +0000
+++ b/crypto/external/bsd/openssl.old/dist/crypto/dh/dh.h       Mon Feb 05 11:55:46 2018 +0000
@@ -387,7 +387,7 @@
 # define DH_R_PEER_KEY_ERROR                              113
 # define DH_R_SHARED_INFO_ERROR                           114
 
-#ifdef OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
 static inline void
 DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key)
 {
diff -r 225640584dd3 -r 03935b1ce36e crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa.h
--- a/crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa.h     Mon Feb 05 11:52:32 2018 +0000
+++ b/crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa.h     Mon Feb 05 11:55:46 2018 +0000
@@ -326,7 +326,7 @@
 # define DSA_R_PARAMETER_ENCODING_ERROR                   105
 # define DSA_R_Q_NOT_PRIME                                113
 
-#ifdef OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
 static inline void
 DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **r, const BIGNUM **s)
 {
diff -r 225640584dd3 -r 03935b1ce36e crypto/external/bsd/openssl.old/dist/crypto/ecdsa/ecdsa.h
--- a/crypto/external/bsd/openssl.old/dist/crypto/ecdsa/ecdsa.h Mon Feb 05 11:52:32 2018 +0000
+++ b/crypto/external/bsd/openssl.old/dist/crypto/ecdsa/ecdsa.h Mon Feb 05 11:55:46 2018 +0000
@@ -329,7 +329,7 @@
 # define ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED          104
 # define ECDSA_R_SIGNATURE_MALLOC_FAILED                  105
 
-#ifdef OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
 
 static inline void
 ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **r, const BIGNUM **s)
diff -r 225640584dd3 -r 03935b1ce36e crypto/external/bsd/openssl.old/dist/crypto/evp/evp.h
--- a/crypto/external/bsd/openssl.old/dist/crypto/evp/evp.h     Mon Feb 05 11:52:32 2018 +0000
+++ b/crypto/external/bsd/openssl.old/dist/crypto/evp/evp.h     Mon Feb 05 11:55:46 2018 +0000
@@ -1533,7 +1533,7 @@
 # define EVP_R_WRONG_FINAL_BLOCK_LENGTH                   109
 # define EVP_R_WRONG_PUBLIC_KEY_TYPE                      110
 
-#ifdef OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
 
 static inline EVP_MD_CTX *EVP_MD_CTX_new(void)
 {
diff -r 225640584dd3 -r 03935b1ce36e crypto/external/bsd/openssl.old/dist/crypto/hmac/hmac.h
--- a/crypto/external/bsd/openssl.old/dist/crypto/hmac/hmac.h   Mon Feb 05 11:52:32 2018 +0000
+++ b/crypto/external/bsd/openssl.old/dist/crypto/hmac/hmac.h   Mon Feb 05 11:55:46 2018 +0000
@@ -102,7 +102,7 @@
 
 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags);
 
-#ifdef OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
 static inline HMAC_CTX *HMAC_CTX_new(void)
 {
        HMAC_CTX *ctx = malloc(sizeof(*ctx));
diff -r 225640584dd3 -r 03935b1ce36e crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa.h
--- a/crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa.h     Mon Feb 05 11:52:32 2018 +0000
+++ b/crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa.h     Mon Feb 05 11:55:46 2018 +0000
@@ -660,7 +660,7 @@
 
 #include <string.h>
 
-#ifdef OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
 
 static inline RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth)
 {



Home | Main Index | Thread Index | Old Index