OLD | NEW |
1 #include <openssl/opensslconf.h> | 1 #include <openssl/opensslconf.h> |
2 | 2 |
3 #ifdef OPENSSL_NO_JPAKE | 3 #ifdef OPENSSL_NO_JPAKE |
4 | 4 |
5 #include <stdio.h> | 5 #include <stdio.h> |
6 | 6 |
7 int main(int argc, char *argv[]) | 7 int main(int argc, char *argv[]) |
8 { | 8 { |
9 printf("No J-PAKE support\n"); | 9 printf("No J-PAKE support\n"); |
10 return(0); | 10 return(0); |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 JPAKE_CTX_free(bob); | 176 JPAKE_CTX_free(bob); |
177 JPAKE_CTX_free(alice); | 177 JPAKE_CTX_free(alice); |
178 | 178 |
179 BN_free(secret); | 179 BN_free(secret); |
180 BN_free(q); | 180 BN_free(q); |
181 BN_free(g); | 181 BN_free(g); |
182 BN_free(p); | 182 BN_free(p); |
183 | 183 |
184 CRYPTO_cleanup_all_ex_data(); | 184 CRYPTO_cleanup_all_ex_data(); |
185 ERR_remove_state(0); | 185 ERR_remove_thread_state(NULL); |
186 ERR_free_strings(); | 186 ERR_free_strings(); |
187 CRYPTO_mem_leaks(bio_err); | 187 CRYPTO_mem_leaks(bio_err); |
188 | 188 |
189 return 0; | 189 return 0; |
190 } | 190 } |
191 | 191 |
192 #endif | 192 #endif |
OLD | NEW |