Certain flag macros were tested with #if instead if #ifdef...
This commit is contained in:
parent
46859bf421
commit
89918b5c17
@ -109,7 +109,7 @@
|
||||
* o ... (for OpenSSL)
|
||||
*/
|
||||
|
||||
#if HAVE_LONG_DOUBLE
|
||||
#ifdef HAVE_LONG_DOUBLE
|
||||
#define LDOUBLE long double
|
||||
#else
|
||||
#define LDOUBLE double
|
||||
|
@ -94,7 +94,6 @@ extern "C" {
|
||||
#define HEX_SIZE(type) ((sizeof(type)*2)
|
||||
|
||||
/* die if we have to */
|
||||
void OpenSSLDie(const char *file,int line,const char *assertion);
|
||||
#define die(e) ((e) ? (void)0 : OpenSSLDie(__FILE__, __LINE__, #e))
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -382,6 +382,9 @@ void CRYPTO_mem_leaks(struct bio_st *bio);
|
||||
/* unsigned long order, char *file, int line, int num_bytes, char *addr */
|
||||
void CRYPTO_mem_leaks_cb(void (*cb)(unsigned long, const char *, int, int, void *));
|
||||
|
||||
/* A helper routine to use when something went really bad. */
|
||||
void OpenSSLDie(const char *file,int line,const char *assertion);
|
||||
|
||||
/* BEGIN ERROR CODES */
|
||||
/* The following lines are auto generated by the script mkerr.pl. Any changes
|
||||
* made after this point may be overwritten when the script is next run.
|
||||
|
@ -92,7 +92,7 @@ static int ubsec_rsa_mod_exp(BIGNUM *r0, BIGNUM *I, RSA *rsa);
|
||||
static int ubsec_mod_exp_mont(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
|
||||
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
|
||||
#ifndef OPENSSL_NO_DSA
|
||||
#if NOT_USED
|
||||
#ifdef NOT_USED
|
||||
static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1,
|
||||
BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m,
|
||||
BN_CTX *ctx, BN_MONT_CTX *in_mont);
|
||||
@ -112,7 +112,7 @@ static int ubsec_dh_compute_key(unsigned char *key,BIGNUM *pub_key,DH *dh);
|
||||
static int ubsec_dh_generate_key(DH *dh);
|
||||
#endif
|
||||
|
||||
#if NOT_USED
|
||||
#ifdef NOT_USED
|
||||
static int ubsec_rand_bytes(unsigned char *buf, int num);
|
||||
static int ubsec_rand_status(void);
|
||||
#endif
|
||||
@ -657,7 +657,7 @@ err:
|
||||
#endif
|
||||
|
||||
#ifndef OPENSSL_NO_DSA
|
||||
#if NOT_USED
|
||||
#ifdef NOT_USED
|
||||
static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1,
|
||||
BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m,
|
||||
BN_CTX *ctx, BN_MONT_CTX *in_mont)
|
||||
|
Loading…
x
Reference in New Issue
Block a user