apps.h (238405) | apps.h (261037) |
---|---|
1/* apps/apps.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 174 unchanged lines hidden (view full) --- 183# define apps_startup() \ 184 do { do_pipe_sig(); CRYPTO_malloc_init(); \ 185 ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); \ 186 ENGINE_load_builtin_engines(); setup_ui_method(); } while(0) 187# define apps_shutdown() \ 188 do { CONF_modules_unload(1); destroy_ui_method(); \ 189 OBJ_cleanup(); EVP_cleanup(); ENGINE_cleanup(); \ 190 CRYPTO_cleanup_all_ex_data(); ERR_remove_thread_state(NULL); \ | 1/* apps/apps.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 174 unchanged lines hidden (view full) --- 183# define apps_startup() \ 184 do { do_pipe_sig(); CRYPTO_malloc_init(); \ 185 ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); \ 186 ENGINE_load_builtin_engines(); setup_ui_method(); } while(0) 187# define apps_shutdown() \ 188 do { CONF_modules_unload(1); destroy_ui_method(); \ 189 OBJ_cleanup(); EVP_cleanup(); ENGINE_cleanup(); \ 190 CRYPTO_cleanup_all_ex_data(); ERR_remove_thread_state(NULL); \ |
191 RAND_cleanup(); \ |
|
191 ERR_free_strings(); zlib_cleanup();} while(0) 192# else 193# define apps_startup() \ 194 do { do_pipe_sig(); CRYPTO_malloc_init(); \ 195 ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); \ 196 setup_ui_method(); } while(0) 197# define apps_shutdown() \ 198 do { CONF_modules_unload(1); destroy_ui_method(); \ 199 OBJ_cleanup(); EVP_cleanup(); \ 200 CRYPTO_cleanup_all_ex_data(); ERR_remove_thread_state(NULL); \ | 192 ERR_free_strings(); zlib_cleanup();} while(0) 193# else 194# define apps_startup() \ 195 do { do_pipe_sig(); CRYPTO_malloc_init(); \ 196 ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); \ 197 setup_ui_method(); } while(0) 198# define apps_shutdown() \ 199 do { CONF_modules_unload(1); destroy_ui_method(); \ 200 OBJ_cleanup(); EVP_cleanup(); \ 201 CRYPTO_cleanup_all_ex_data(); ERR_remove_thread_state(NULL); \ |
202 RAND_cleanup(); \ |
|
201 ERR_free_strings(); zlib_cleanup(); } while(0) 202# endif 203#endif 204 205#ifdef OPENSSL_SYSNAME_WIN32 206# define openssl_fdset(a,b) FD_SET((unsigned int)a, b) 207#else 208# define openssl_fdset(a,b) FD_SET(a, b) --- 165 unchanged lines hidden --- | 203 ERR_free_strings(); zlib_cleanup(); } while(0) 204# endif 205#endif 206 207#ifdef OPENSSL_SYSNAME_WIN32 208# define openssl_fdset(a,b) FD_SET((unsigned int)a, b) 209#else 210# define openssl_fdset(a,b) FD_SET(a, b) --- 165 unchanged lines hidden --- |