The cipher_table was always null when I accessed it and method ENGINE_unregister_ciphers was not called at all (even though breakpoint was set).
Here is the backtrace.
GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/sbin/apache2...done. (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) break ENGINE_load_builtin_engines Function "ENGINE_load_builtin_engines" not defined. Make breakpoint pending on future shared library load? (y or [n]) Breakpoint 1 (ENGINE_load_builtin_engines) pending. (gdb) break ENGINE_cleanup Function "ENGINE_cleanup" not defined. Make breakpoint pending on future shared library load? (y or [n]) Breakpoint 2 (ENGINE_cleanup) pending. (gdb) break ENGINE_unregister_ciphers Function "ENGINE_unregister_ciphers" not defined. Make breakpoint pending on future shared library load? (y or [n]) Breakpoint 3 (ENGINE_unregister_ciphers) pending. (gdb) break engine_unregister_all_ciphers Function "engine_unregister_all_ciphers" not defined. Make breakpoint pending on future shared library load? (y or [n]) Breakpoint 4 (engine_unregister_all_ciphers) pending. (gdb) break ENGINE_register_ciphers Function "ENGINE_register_ciphers" not defined. Make breakpoint pending on future shared library load? (y or [n]) Breakpoint 5 (ENGINE_register_ciphers) pending. (gdb) break engine_table_cleanup Function "engine_table_cleanup" not defined. Make breakpoint pending on future shared library load? (y or [n]) Breakpoint 6 (engine_table_cleanup) pending. (gdb) run Starting program: /usr/sbin/apache2 -k start -X [Thread debugging using libthread_db enabled] Breakpoint 1, ENGINE_load_builtin_engines () at eng_all.c:72 72 ENGINE_load_padlock(); (gdb) backtrace #0 ENGINE_load_builtin_engines () at eng_all.c:72 #1 0x00007ffff115af65 in ssl_hook_pre_config (pconf=0x7ffff820e138, plog=<value optimized out>, ptemp=<value optimized out>) at /build/buildd/apache2-2.2.14/modules/ssl/mod_ssl.c:274 #2 0x00007ffff7fd5e7e in ap_run_pre_config (pconf=0x7ffff820e138, plog=0x7ffff82422d8, ptemp=0x7ffff82442e8) at /build/buildd/apache2-2.2.14/server/config.c:86 #3 0x00007ffff7fc2120 in main (argc=4, argv=0x7fffffffe728) at /build/buildd/apache2-2.2.14/server/main.c:640 (gdb) l 67 * *no* builtin implementations). */ 68 #if 0 69 ENGINE_load_openssl(); 70 #endif 71 #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_PADLOCK) 72 ENGINE_load_padlock(); 73 #endif 74 #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_AESNI) 75 ENGINE_load_aesni(); 76 #endif (gdb) n 75 ENGINE_load_aesni(); (gdb) Breakpoint 5, ENGINE_register_ciphers (e=0x7ffff8390760) at tb_cipher.c:76 76 if(e->ciphers) (gdb) backtrace #0 ENGINE_register_ciphers (e=0x7ffff8390760) at tb_cipher.c:76 #1 0x00007ffff1e7e57d in ENGINE_register_complete (e=0x7ffff8390760) at eng_fat.c:139 #2 0x00007ffff1e80b64 in ENGINE_load_aesni () at eng_aesni.c:108 #3 0x00007ffff1e7e626 in ENGINE_load_builtin_engines () at eng_all.c:75 #4 0x00007ffff115af65 in ssl_hook_pre_config (pconf=0x7ffff820e138, plog=<value optimized out>, ptemp=<value optimized out>) at /build/buildd/apache2-2.2.14/modules/ssl/mod_ssl.c:274 #5 0x00007ffff7fd5e7e in ap_run_pre_config (pconf=0x7ffff820e138, plog=0x7ffff82422d8, ptemp=0x7ffff82442e8) at /build/buildd/apache2-2.2.14/server/config.c:86 #6 0x00007ffff7fc2120 in main (argc=4, argv=0x7fffffffe728) at /build/buildd/apache2-2.2.14/server/main.c:640 (gdb) print *e $1 = {id = 0x7ffff1f15100 "aesni", name = 0x7ffff1f15130 "Intel AES-NI engine (no-aesni)", rsa_meth = 0x0, dsa_meth = 0x0, dh_meth = 0x0, ecdh_meth = 0x0, ecdsa_meth = 0x0, rand_meth = 0x0, store_meth = 0x0, ciphers = 0, digests = 0, destroy = 0, init = 0x7ffff1e810fb <aesni_init>, finish = 0, ctrl = 0, load_privkey = 0, load_pubkey = 0, load_ssl_client_cert = 0, cmd_defns = 0x0, flags = 0, struct_ref = 2, funct_ref = 0, ex_data = {sk = 0x0, dummy = 0}, prev = 0x0, next = 0x0} (gdb) n 85 return 1; (gdb) 86 } (gdb) c Continuing. Breakpoint 2, ENGINE_cleanup () at eng_lib.c:188 188 if(int_cleanup_check(0)) (gdb) backtrace #0 ENGINE_cleanup () at eng_lib.c:188 #1 0x00007ffff115afb8 in ssl_cleanup_pre_config (data=<value optimized out>) at /build/buildd/apache2-2.2.14/modules/ssl/mod_ssl.c:238 #2 0x00007ffff7706c23 in ?? () from /usr/lib/libapr-1.so.0 #3 0x00007ffff77059af in apr_pool_clear () from /usr/lib/libapr-1.so.0 #4 0x00007ffff7fc21fd in main (argc=4, argv=0x7fffffffe728) at /build/buildd/apache2-2.2.14/server/main.c:692 (gdb) l 183 (*(item->cb))(); 184 OPENSSL_free(item); 185 } 186 void ENGINE_cleanup(void) 187 { 188 if(int_cleanup_check(0)) 189 { 190 sk_ENGINE_CLEANUP_ITEM_pop_free(cleanup_stack, 191 engine_cleanup_cb_free); 192 cleanup_stack = NULL; (gdb) n 190 sk_ENGINE_CLEANUP_ITEM_pop_free(cleanup_stack, (gdb) print cleanup_stack $2 = (STACK *) 0x7ffff83908d0 (gdb) print *cleanup_stack $3 = {num = 1, data = 0x7ffff8390900, sorted = 0, num_alloc = 4, comp = 0} (gdb) print *cleanup_stack->data $4 = 0x7ffff8390930 "4\274\347\361\377\177" (gdb) n 192 cleanup_stack = NULL; (gdb) 196 RAND_set_rand_method(NULL); (gdb) 197 } (gdb) c Continuing. warning: Temporarily disabling breakpoints for unloaded shared library "/lib/libcrypto.so.0.9.8" Breakpoint 1, ENGINE_load_builtin_engines () at eng_all.c:72 72 ENGINE_load_padlock(); (gdb) backtrace #0 ENGINE_load_builtin_engines () at eng_all.c:72 #1 0x00007ffff115af65 in ssl_hook_pre_config (pconf=0x7ffff820e138, plog=<value optimized out>, ptemp=<value optimized out>) at /build/buildd/apache2-2.2.14/modules/ssl/mod_ssl.c:274 #2 0x00007ffff7fd5e7e in ap_run_pre_config (pconf=0x7ffff820e138, plog=0x7ffff82422d8, ptemp=0x7ffff8216178) at /build/buildd/apache2-2.2.14/server/config.c:86 #3 0x00007ffff7fc2298 in main (argc=4, argv=0x7fffffffe728) at /build/buildd/apache2-2.2.14/server/main.c:711 (gdb) print *e Attempt to take contents of a non-pointer value. (gdb) l 67 * *no* builtin implementations). */ 68 #if 0 69 ENGINE_load_openssl(); 70 #endif 71 #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_PADLOCK) 72 ENGINE_load_padlock(); 73 #endif 74 #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_AESNI) 75 ENGINE_load_aesni(); 76 #endif (gdb) n 75 ENGINE_load_aesni(); (gdb) Breakpoint 5, ENGINE_register_ciphers (e=0x7ffff84446e0) at tb_cipher.c:76 76 if(e->ciphers) (gdb) backtrace #0 ENGINE_register_ciphers (e=0x7ffff84446e0) at tb_cipher.c:76 #1 0x00007ffff1e7e57d in ENGINE_register_complete (e=0x7ffff84446e0) at eng_fat.c:139 #2 0x00007ffff1e80b64 in ENGINE_load_aesni () at eng_aesni.c:108 #3 0x00007ffff1e7e626 in ENGINE_load_builtin_engines () at eng_all.c:75 #4 0x00007ffff115af65 in ssl_hook_pre_config (pconf=0x7ffff820e138, plog=<value optimized out>, ptemp=<value optimized out>) at /build/buildd/apache2-2.2.14/modules/ssl/mod_ssl.c:274 #5 0x00007ffff7fd5e7e in ap_run_pre_config (pconf=0x7ffff820e138, plog=0x7ffff82422d8, ptemp=0x7ffff8216178) at /build/buildd/apache2-2.2.14/server/config.c:86 #6 0x00007ffff7fc2298 in main (argc=4, argv=0x7fffffffe728) at /build/buildd/apache2-2.2.14/server/main.c:711 (gdb) print *e $5 = {id = 0x7ffff1f15100 "aesni", name = 0x7ffff1f15130 "Intel AES-NI engine (no-aesni)", rsa_meth = 0x0, dsa_meth = 0x0, dh_meth = 0x0, ecdh_meth = 0x0, ecdsa_meth = 0x0, rand_meth = 0x0, store_meth = 0x0, ciphers = 0, digests = 0, destroy = 0, init = 0x7ffff1e810fb <aesni_init>, finish = 0, ctrl = 0, load_privkey = 0, load_pubkey = 0, load_ssl_client_cert = 0, cmd_defns = 0x0, flags = 0, struct_ref = 2, funct_ref = 0, ex_data = {sk = 0x0, dummy = 0}, prev = 0x0, next = 0x0} (gdb) n[Kl 71 engine_table_cleanup(&cipher_table); 72 } 73 74 int ENGINE_register_ciphers(ENGINE *e) 75 { 76 if(e->ciphers) 77 { 78 const int *nids; 79 int num_nids = e->ciphers(e, NULL, &nids, 0); 80 if(num_nids > 0) (gdb) n 85 return 1; (gdb) 86 } (gdb) c Continuing. Breakpoint 1, ENGINE_load_builtin_engines () at eng_all.c:72 72 ENGINE_load_padlock(); (gdb) backtrace #0 ENGINE_load_builtin_engines () at eng_all.c:72 #1 0x00007ffff0088c09 in ?? () from /usr/lib/libcurl.so.4 #2 0x00007ffff0091b59 in curl_global_init () from /usr/lib/libcurl.so.4 #3 0x00007ffff02b66f0 in zm_startup_curl (type=1, module_number=43) at /build/buildd/php5-5.3.2/ext/curl/interface.c:819 #4 0x00007ffff3d7bbcb in zend_startup_module_ex (module=0x7ffff84ce830) at /build/buildd/php5-5.3.2/Zend/zend_API.c:1613 #5 0x00007ffff3d84865 in zend_hash_apply (ht=0x7ffff44701c0, apply_func=0x7ffff3d7bad0 <zend_startup_module_ex>) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:875 #6 0x00007ffff3d7ef4a in zend_startup_modules () at /build/buildd/php5-5.3.2/Zend/zend_API.c:1662 #7 0x00007ffff3d254b5 in php_module_startup (sf=0x7ffff446f120, additional_modules=0x7ffff74c7e40, num_additional_modules=1) at /build/buildd/php5-5.3.2/main/main.c:2050 #8 0x00007ffff3e043b5 in php_apache2_startup (sapi_module=0x1) at /build/buildd/php5-5.3.2/sapi/apache2handler/sapi_apache2.c:335 #9 0x00007ffff3e04fa0 in php_apache_server_startup (pconf=0x7ffff820e138, plog=0x7fffffffe340, ptemp=0x7ffff71c7360, s=0x7ffff8214938) at /build/buildd/php5-5.3.2/sapi/apache2handler/sapi_apache2.c:448 #10 0x00007ffff7fd5f79 in ap_run_post_config (pconf=0x7ffff820e138, plog=0x7ffff82422d8, ptemp=0x7ffff8216178, s=0x7ffff8214938) at /build/buildd/apache2-2.2.14/server/config.c:95 #11 0x00007ffff7fc2327 in main (argc=4, argv=0x7fffffffe728) at /build/buildd/apache2-2.2.14/server/main.c:731 (gdb) l 67 * *no* builtin implementations). */ 68 #if 0 69 ENGINE_load_openssl(); 70 #endif 71 #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_PADLOCK) 72 ENGINE_load_padlock(); 73 #endif 74 #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_AESNI) 75 ENGINE_load_aesni(); 76 #endif (gdb) n 75 ENGINE_load_aesni(); (gdb) Breakpoint 5, ENGINE_register_ciphers (e=0x7ffff8641150) at tb_cipher.c:76 76 if(e->ciphers) (gdb) backtrace #0 ENGINE_register_ciphers (e=0x7ffff8641150) at tb_cipher.c:76 #1 0x00007ffff1e7e57d in ENGINE_register_complete (e=0x7ffff8641150) at eng_fat.c:139 #2 0x00007ffff1e80b64 in ENGINE_load_aesni () at eng_aesni.c:108 #3 0x00007ffff1e7e626 in ENGINE_load_builtin_engines () at eng_all.c:75 #4 0x00007ffff0088c09 in ?? () from /usr/lib/libcurl.so.4 #5 0x00007ffff0091b59 in curl_global_init () from /usr/lib/libcurl.so.4 #6 0x00007ffff02b66f0 in zm_startup_curl (type=-127659696, module_number=43) at /build/buildd/php5-5.3.2/ext/curl/interface.c:819 #7 0x00007ffff3d7bbcb in zend_startup_module_ex (module=0x7ffff84ce830) at /build/buildd/php5-5.3.2/Zend/zend_API.c:1613 #8 0x00007ffff3d84865 in zend_hash_apply (ht=0x7ffff44701c0, apply_func=0x7ffff3d7bad0 <zend_startup_module_ex>) at /build/buildd/php5-5.3.2/Zend/zend_hash.c:875 #9 0x00007ffff3d7ef4a in zend_startup_modules () at /build/buildd/php5-5.3.2/Zend/zend_API.c:1662 #10 0x00007ffff3d254b5 in php_module_startup (sf=0x7ffff446f120, additional_modules=0x7ffff74c7e40, num_additional_modules=1) at /build/buildd/php5-5.3.2/main/main.c:2050 #11 0x00007ffff3e043b5 in php_apache2_startup (sapi_module=0x7ffff8641150) at /build/buildd/php5-5.3.2/sapi/apache2handler/sapi_apache2.c:335 #12 0x00007ffff3e04fa0 in php_apache_server_startup (pconf=0x7ffff820e138, plog=0x1e, ptemp=0x7ffff1f14c52, s=0x7ffff8214938) at /build/buildd/php5-5.3.2/sapi/apache2handler/sapi_apache2.c:448 #13 0x00007ffff7fd5f79 in ap_run_post_config (pconf=0x7ffff820e138, plog=0x7ffff82422d8, ptemp=0x7ffff8216178, s=0x7ffff8214938) at /build/buildd/apache2-2.2.14/server/config.c:95 #14 0x00007ffff7fc2327 in main (argc=4, argv=0x7fffffffe728) at /build/buildd/apache2-2.2.14/server/main.c:731 (gdb) print *e $6 = {id = 0x7ffff1f15100 "aesni", name = 0x7ffff1f15110 "Intel AES-NI engine", rsa_meth = 0x0, dsa_meth = 0x0, dh_meth = 0x0, ecdh_meth = 0x0, ecdsa_meth = 0x0, rand_meth = 0x0, store_meth = 0x0, ciphers = 0x7ffff1e8137d <aesni_ciphers>, digests = 0, destroy = 0, init = 0x7ffff1e810fb <aesni_init>, finish = 0, ctrl = 0, load_privkey = 0, load_pubkey = 0, load_ssl_client_cert = 0, cmd_defns = 0x0, flags = 0, struct_ref = 1, funct_ref = 0, ex_data = {sk = 0x0, dummy = 0}, prev = 0x0, next = 0x0} (gdb) n 79 int num_nids = e->ciphers(e, NULL, &nids, 0); (gdb) print num_:[Knids $7 = 0 (gdb) n[Kprint *e $8 = {id = 0x7ffff1f15100 "aesni", name = 0x7ffff1f15110 "Intel AES-NI engine", rsa_meth = 0x0, dsa_meth = 0x0, dh_meth = 0x0, ecdh_meth = 0x0, ecdsa_meth = 0x0, rand_meth = 0x0, store_meth = 0x0, ciphers = 0x7ffff1e8137d <aesni_ciphers>, digests = 0, destroy = 0, init = 0x7ffff1e810fb <aesni_init>, finish = 0, ctrl = 0, load_privkey = 0, load_pubkey = 0, load_ssl_client_cert = 0, cmd_defns = 0x0, flags = 0, struct_ref = 1, funct_ref = 0, ex_data = {sk = 0x0, dummy = 0}, prev = 0x0, next = 0x0} (gdb) n 80 if(num_nids > 0) (gdb) 81 return engine_table_register(&cipher_table, (gdb) print cipher_table $9 = (ENGINE_TABLE *) 0x0 (gdb) n 86 } (gdb) ENGINE_register_complete (e=0x7ffff8641150) at eng_fat.c:140 140 ENGINE_register_digests(e); (gdb) 142 ENGINE_register_RSA(e); (gdb) 145 ENGINE_register_DSA(e); (gdb) 148 ENGINE_register_DH(e); (gdb) 151 ENGINE_register_ECDH(e); (gdb) 154 ENGINE_register_ECDSA(e); (gdb) 156 ENGINE_register_RAND(e); (gdb) 157 return 1; (gdb) 158 } (gdb) ENGINE_load_aesni () at eng_aesni.c:109 109 ENGINE_free (toadd); (gdb) 110 ERR_clear_error (); (gdb) n 112 } (gdb) c Continuing. [New Thread 0x7fffe8d5d710 (LWP 11760)] [Thread 0x7fffe8d5d710 (LWP 11760) exited] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff214ea60 in sha1_md () from /lib/libcrypto.so.0.9.8 (gdb) backtrace #0 0x00007ffff214ea60 in sha1_md () from /lib/libcrypto.so.0.9.8 #1 0x00007ffff1e7c7cf in engine_unlocked_init (e=0x7ffff8641150) at eng_init.c:67 #2 0x00007ffff1e7dc34 in engine_table_select (table=0x7ffff216c860, nid=427) at eng_table.c:274 #3 0x00007ffff1e7f095 in ENGINE_get_cipher_engine (nid=427) at tb_cipher.c:115 #4 0x00007ffff1e96ad6 in do_evp_enc_engine (ctx=0x7ffff86f6e00, pcipher=0x7fffffffda30, impl=0x0) at enc_min.c:161 #5 0x00007ffff1e96c24 in EVP_CipherInit_ex (ctx=0x7ffff86f6e00, cipher=0x7ffff214a0e0, impl=0x0, key=0x7ffff86f6398 "\205\337W\314\034\211\070\354U6\346\231(\024s\262\242\311/4ӧb\v}\253OὈ\341݊\243e=\207\332\021c\324\t#\324l\212\306\335攦j}O9\032\061\005\064\310\307,\337\326p\311\364\275\202\370\333\373\240\034\035\317'\266bO\346\004\201\220\065\a\357\266ӓ5\266\347\214,#Q", iv=0x7ffff86f63d8 "p\311\364\275\202\370\333\373\240\034\035\317'\266bO\346\004\201\220\065\a\357\266ӓ5\266\347\214,#Q", enc=0) at enc_min.c:229 #6 0x00007ffff382f686 in tls1_change_cipher_state (s=0x7ffff86d6bb0, which=33) at t1_enc.c:434 #7 0x00007ffff3828cbe in ssl3_do_change_cipher_spec (s=0x7ffff86d6bb0) at s3_pkt.c:1246 #8 0x00007ffff382889b in ssl3_read_bytes (s=0x7ffff86d6bb0, type=22, buf=0x7ffff86df3d0 "\020", len=4, peek=0) at s3_pkt.c:1110 #9 0x00007ffff3829ad9 in ssl3_get_message (s=0x7ffff86d6bb0, st1=8608, stn=8609, mt=-1, max=514, ok=0x7fffffffde28) at s3_both.c:394 #10 0x00007ffff381c12b in ssl3_get_cert_verify (s=0x7ffff86d6bb0) at s3_srvr.c:2311 #11 0x00007ffff381895b in ssl3_accept (s=0x7ffff86d6bb0) at s3_srvr.c:506 #12 0x00007ffff383bf64 in SSL_accept (s=0x7ffff86d6bb0) at ssl_lib.c:869 #13 0x00007ffff382b199 in ssl23_get_client_hello (s=0x7ffff86d6bb0) at s23_srvr.c:577 #14 0x00007ffff382a479 in ssl23_accept (s=0x7ffff86d6bb0) at s23_srvr.c:203 #15 0x00007ffff383bf64 in SSL_accept (s=0x7ffff86d6bb0) at ssl_lib.c:869 #16 0x00007ffff1160ab8 in ssl_io_filter_connect (filter_ctx=0x7ffff86d3358) at /build/buildd/apache2-2.2.14/modules/ssl/ssl_engine_io.c:1103 #17 0x00007ffff1161a38 in ssl_io_filter_input (f=0x7ffff86dc3a8, bb=0x7ffff86de9c8, mode=<value optimized out>, block=APR_BLOCK_READ, readbytes=<value optimized out>) at /build/buildd/apache2-2.2.14/modules/ssl/ssl_engine_io.c:1349 #18 0x00007ffff7fc9626 in ap_rgetline_core (s=0x7ffff86dd498, n=<value optimized out>, read=<value optimized out>, r=<value optimized out>, fold=<value optimized out>, bb=<value optimized out>) at /build/buildd/apache2-2.2.14/server/protocol.c:231 #19 0x00007ffff7fc9fa6 in read_request_line (conn=0x7ffff86d2a98) at /build/buildd/apache2-2.2.14/server/protocol.c:596 #20 ap_read_request (conn=0x7ffff86d2a98) at /build/buildd/apache2-2.2.14/server/protocol.c:891 #21 0x00007ffff7fe4490 in ap_process_http_connection (c=0x7ffff86d2a98) at /build/buildd/apache2-2.2.14/modules/http/http_core.c:183 #22 0x00007ffff7fddcf8 in ap_run_process_connection (c=0x7ffff86d2a98) at /build/buildd/apache2-2.2.14/server/connection.c:43 #23 0x00007ffff7fec037 in child_main (child_num_arg=<value optimized out>) at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:662 #24 0x00007ffff7fec306 in make_child (s=0x7ffff8214938, slot=0) at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:702 #25 0x00007ffff7fec953 in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at /build/buildd/apache2-2.2.14/server/mpm/prefork/prefork.c:978 #26 0x00007ffff7fc2350 in main (argc=4, argv=0x7fffffffe728) at /build/buildd/apache2-2.2.14/server/main.c:742 (gdb) l 107 ENGINE_add (toadd); 108 ENGINE_register_complete (toadd); 109 ENGINE_free (toadd); 110 ERR_clear_error (); 111 #endif 112 } 113 114 #ifdef COMPILE_HW_AESNI 115 int aesni_set_encrypt_key(const unsigned char *userKey, int bits, 116 AES_KEY *key); (gdb) print[K[K[K[K[Kq[Kf 1 #1 0x00007ffff1e7c7cf in engine_unlocked_init (e=0x7ffff8641150) at eng_init.c:67 67 to_return = e->init(e); (gdb) print *e $10 = {id = 0x2 <Address 0x2 out of bounds>, name = 0x7ffff1eff31c "des-cbc", rsa_meth = 0x7ffff214e2c0, dsa_meth = 0x31, dh_meth = 0x7fff00000090, ecdh_meth = 0x7ffff2149d20, ecdsa_meth = 0x7ffff214ea60, rand_meth = 0x7ffff1eec806, store_meth = 0x0, ciphers = 0x31, digests = 0x7fff00000091, destroy = 0x7ffff2149d80 <r4_40_cipher>, init = 0x7ffff214ea60 <sha1_md>, finish = 0x7ffff1eec806 <PKCS12_PBE_keyivgen>, ctrl = 0x7ffff1e80278 <dynamic_ctrl>, load_privkey = 0x31, load_pubkey = 0x7fff00000092, load_ssl_client_cert = 0x7ffff2149ae0 <des_ede3_cbc>, cmd_defns = 0x7ffff214ea60, flags = -236009466, struct_ref = 32767, funct_ref = 0, ex_data = {sk = 0x21, dummy = -146014162}, prev = 0x7ffff74c7ea8, next = 0x20} (gdb) q A debugging session is active. Inferior 1 [process 11576] will be killed. Quit anyway? (y or n)