I finally succeeded in adding debug to openssl, but it doesn't seem to
be working completely. I was able to set the breakpoint at the point
you mentioned Dr. Henson but I'm not sure how that will tell me what
is being called. I am not able to break on ssl3_init_finished_mac,
ssl3_connect or SSL_connect for some reason.  Here is the trace and
let me know what I should do from here.

Breakpoint 2, EVP_DigestInit_ex (ctx=0xb712c, type=0x40188908, impl=0x0)
    at digest.c:292
292
EVPerr(EVP_F_EVP_DIGESTINIT_EX, EVP_R_DISABLED_FOR_FIPS);
(gdb) bt
#0  EVP_DigestInit_ex (ctx=0xb712c, type=0x40188908, impl=0x0) at digest.c:292
#1  0x4003ff70 in ssl3_init_finished_mac () from /usr/lib/libssl.so.0.9.8
#2  0x4003e534 in ssl3_connect () from /usr/lib/libssl.so.0.9.8
#3  0x4004ebf4 in SSL_connect () from /usr/lib/libssl.so.0.9.8
#4  0x00075150 in tls_connection_handshake (ssl_ctx=<value optimized out>,
    conn=0xb6dd0, in_data=0xb8e08 "\224á,@\224á,@\020", in_len=0,
    out_len=0xb6cf0, appl_data=0xbecf5218, appl_data_len=0xbecf5214)
    at ../src/crypto/tls_openssl.c:1797
#5  0x00072724 in eap_peer_tls_process_helper (sm=0xacd90, data=0xb6ce8,
    eap_type=EAP_TYPE_PEAP, peap_version=0, id=72 'H', in_data=0x0,
    in_len=537578896, out_data=0xbecf5264)
    at ../src/eap_peer/eap_tls_common.c:463
#6  0x0006bdcc in eap_peap_process (sm=0xacd90, priv=0xb6ce8, ret=0xbecf5298,
    reqData=0xb6cd0) at ../src/eap_peer/eap_peap.c:1076
#7  0x0007076c in sm_EAP_METHOD_Enter (sm=0xacd90,
    global=<value optimized out>) at ../src/eap_peer/eap.c:368
#8  0x00070ca4 in eap_peer_sm_step (sm=0xacd90) at ../src/eap_peer/eap.c:698
#9  0x0006e448 in eapol_sm_step (sm=0xacc68)
    at ../src/eapol_supp/eapol_supp_sm.c:900
#10 0x0006f428 in eapol_sm_rx_eapol (sm=0xacc68, src=<value optimized out>,
    buf=0xbecf5364 "\001", len=<value optimized out>)
    at ../src/eapol_supp/eapol_supp_sm.c:1216
#11 0x0008430c in wpa_supplicant_rx_eapol (ctx=0xac448,
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to