Hi, ./t_lpback.sh fails with AES-GCM mode on Solaris 11. CRYPTO_gcm128_setiv from libcrypto seems to jump into NULL pointer country.
This is currently no issue for me, but in case anyone cares I put the coredump on https://www.neuhalfen.name/__downloads__/openvpn/core_solaris11_aes-gcm_crash . cheers Jens ./t_lpback.sh -n Testing cipher AES-128-CBC... OK -n Testing cipher AES-128-CFB... OK -n Testing cipher AES-128-CFB1... OK -n Testing cipher AES-128-CFB8... OK -n Testing cipher AES-128-GCM... FAILED Sat May 21 19:01:09 2016 OpenVPN 2.3_git [git:master/b207d8ae9a6b0e99] i386-pc-solaris2.11 [SSL (OpenSSL)] [IPv6] built on May 21 2016 Sat May 21 19:01:09 2016 library versions: OpenSSL 1.0.1p 9 Jul 2015 Sat May 21 19:01:09 2016 OpenVPN 2.3_git [git:master/b207d8ae9a6b0e99] i386-pc-solaris2.11 [SSL (OpenSSL)] [IPv6] built on May 21 2016 Sat May 21 19:01:09 2016 Entering OpenVPN crypto self-test mode. Sat May 21 19:01:09 2016 TESTING ENCRYPT/DECRYPT of packet length=1 Sat May 21 19:01:09 2016 TESTING ENCRYPT/DECRYPT of packet length=2 ./t_lpback.sh: line 48: 19049: Memory fault(coredump) ——————————————— gdb ../src/openvpn/openvpn core ... Reading symbols from /export/home/jens/openvpn/src/openvpn/openvpn...done. [New LWP 1] [New LWP 1] [Thread debugging using libthread_db enabled] [New Thread 1 (LWP 1)] Core was generated by `../src/openvpn/openvpn --test-crypto --secret key.19038 --cipher AES-256-GCM'. Program terminated with signal 11, Segmentation fault. #0 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0x07505972 in CRYPTO_gcm128_setiv () from /lib/libcrypto.so.1.0.0 #2 0x075402af in aesni_gcm_init_key () from /lib/libcrypto.so.1.0.0 #3 0x0753cc50 in EVP_CipherInit_ex () from /lib/libcrypto.so.1.0.0 #4 0x0753c968 in EVP_CipherInit () from /lib/libcrypto.so.1.0.0 #5 0x0808bc10 in cipher_ctx_reset (ctx=0x811b808, iv_buf=iv_buf@entry=0xfeffd930 "") at crypto_openssl.c:623 #6 0x0808985d in openvpn_encrypt_aead (opt=0xfeffe144, work=..., buf=0xfeffd9f0) at crypto.c:130 #7 openvpn_encrypt (buf=buf@entry=0xfeffd9f0, work=..., opt=opt@entry=0xfeffe144) at crypto.c:340 #8 0x0808ab02 in test_crypto (co=co@entry=0xfeffe144, frame=frame@entry=0xfeffe00c) at crypto.c:1078 #9 0x0809a4eb in test_crypto_thread (arg=0xfeffda38) at init.c:3921 #10 do_test_crypto (o=o@entry=0xfeffe358) at init.c:3947 #11 0x080b1f05 in openvpn_main (argc=argc@entry=6, argv=argv@entry=0xfeffec88) at openvpn.c:232 #12 0x080ee9c1 in main (argc=6, argv=0xfeffec88) at openvpn.c:345 (gdb) frame 1 #1 0x07505972 in CRYPTO_gcm128_setiv () from /lib/libcrypto.so.1.0.0 (gdb) info args No symbol table info available. (gdb) info local No symbol table info available. (gdb) info locals ...