@@ -60,14 +60,33 @@ typedef char *d2i_of_void();
60
60
(char *(*)())d2i_PKCS7_RECIP_INFO, (char *)ri)
61
61
#endif
62
62
63
+ #if !defined(HAVE_EVP_MD_CTX_INIT )
63
64
void HMAC_CTX_init (HMAC_CTX * ctx );
64
- int HMAC_CTX_copy (HMAC_CTX * out , HMAC_CTX * in );
65
+ #endif
66
+
67
+ #if !defined(HAVE_HMAC_CTX_COPY )
68
+ void HMAC_CTX_copy (HMAC_CTX * out , HMAC_CTX * in );
69
+ #endif
70
+
71
+ #if !defined(HAVE_HMAC_CTX_CLEANUP )
65
72
void HMAC_CTX_cleanup (HMAC_CTX * ctx );
73
+ #endif
66
74
75
+ #if !defined(HAVE_EVP_MD_CTX_CREATE )
67
76
EVP_MD_CTX * EVP_MD_CTX_create (void );
77
+ #endif
78
+
79
+ #if !defined(HAVE_EVP_MD_CTX_INIT )
68
80
void EVP_MD_CTX_init (EVP_MD_CTX * ctx );
81
+ #endif
82
+
83
+ #if !defined(HAVE_EVP_MD_CTX_CLEANUP )
69
84
int EVP_MD_CTX_cleanup (EVP_MD_CTX * ctx );
85
+ #endif
86
+
87
+ #if !defined(HAVE_EVP_MD_CTX_DESTROY )
70
88
void EVP_MD_CTX_destroy (EVP_MD_CTX * ctx );
89
+ #endif
71
90
72
91
#if !defined(HAVE_EVP_CIPHER_CTX_COPY )
73
92
int EVP_CIPHER_CTX_copy (EVP_CIPHER_CTX * out , EVP_CIPHER_CTX * in );
@@ -111,19 +130,54 @@ int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, EVP_CIPHER_CTX *in);
111
130
#define OPENSSL_cleanse (p , l ) memset(p, 0, l)
112
131
#endif
113
132
133
+ #if !defined(HAVE_X509_STORE_SET_EX_DATA )
114
134
void * X509_STORE_get_ex_data (X509_STORE * str , int idx );
115
135
int X509_STORE_set_ex_data (X509_STORE * str , int idx , void * data );
136
+ #endif
137
+
138
+ #if !defined(HAVE_X509_CRL_SET_VERSION )
116
139
int X509_CRL_set_version (X509_CRL * x , long version );
140
+ #endif
141
+
142
+ #if !defined(HAVE_X509_CRL_SET_ISSUER_NAME )
117
143
int X509_CRL_set_issuer_name (X509_CRL * x , X509_NAME * name );
144
+ #endif
145
+
146
+ #if !defined(HAVE_X509_CRL_SORT )
118
147
int X509_CRL_sort (X509_CRL * c );
148
+ #endif
149
+
150
+ #if !defined(HAVE_X509_CRL_ADD0_REVOKED )
119
151
int X509_CRL_add0_revoked (X509_CRL * crl , X509_REVOKED * rev );
152
+ #endif
153
+
154
+ #if !defined(HAVE_BN_MOD_SQR )
120
155
int BN_mod_sqr (BIGNUM * r , const BIGNUM * a , const BIGNUM * m , BN_CTX * ctx );
156
+ #endif
157
+
158
+ #if !defined(HAVE_BN_MOD_ADD )
121
159
int BN_mod_add (BIGNUM * r , const BIGNUM * a , const BIGNUM * b , const BIGNUM * m , BN_CTX * ctx );
160
+ #endif
161
+
162
+ #if !defined(HAVE_BN_MOD_SUB )
122
163
int BN_mod_sub (BIGNUM * r , const BIGNUM * a , const BIGNUM * b , const BIGNUM * m , BN_CTX * ctx );
164
+ #endif
165
+
166
+ #if !defined(HAVE_BN_RAND_RANGE )
123
167
int BN_rand_range (BIGNUM * r , BIGNUM * range );
168
+ #endif
169
+
170
+ #if !defined(HAVE_BN_PSEUDO_RAND_RANGE )
124
171
int BN_pseudo_rand_range (BIGNUM * r , BIGNUM * range );
172
+ #endif
173
+
174
+ #if !defined(HAVE_CONF_GET1_DEFAULT_CONFIG_FILE )
125
175
char * CONF_get1_default_config_file (void );
176
+ #endif
177
+
178
+ #if !defined(HAVE_PEM_DEF_CALLBACK )
126
179
int PEM_def_callback (char * buf , int num , int w , void * key );
180
+ #endif
127
181
128
182
#if defined(__cplusplus )
129
183
}
0 commit comments