how to debug openssl

2005-08-04 Thread Jet Young
Dear all, I want to debug the openssl command by using GDB. however, as you know that the default option of the makefile is without -g for gcc. how can i add the -g option for the gcc in an ease way when i compile openssl? many thanks. have a good day! __

Accessing Client Cert. and Key from SSL_CTX

2005-08-04 Thread david kine
How do I access the client certificate and private key from an SSL_CTX? It was previously loaded into the SSL_CTX with SSL_CTX_use_certificate() and SSL_CTX_use_PrivateKey(). Thanks for the help, -David __ Do You Yahoo!? Tired of spam? Yahoo! M

140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:230:

2005-08-04 Thread Puramuk
i get errors when trying to connet to qmail with jms1.6b patchset using openssl s_client -starttls smtp -connect 127.0.0.1:25 -state -debug also it does not give any errors when try to connent to implicit courier-imap on 993 port and does give when to explicit on 143 port (starttls} i use li

Problems with X509_verify_cert and 0.9.8

2005-08-04 Thread Jeff Davey
I'm having a very peculiar problem. I'm doing the following to verify that this cert is signed by our root certificate, and that it's a valid cert: X509_STORE *store = X509_STORE_new(); if (store) { X509_STORE_set_verify_cb_func(store, _glicVerificationCallback); // load the CACert

Duplicate X509_STORE_CTX / X509_STORE

2005-08-04 Thread Hagai Yaffe
Hello, I wanted to ask if there is an openssl functionality to duplicate X509_STORE_CTX / X509_STORE (I am using openssl 0.9.7d)? I have a looked and haven’t found functions to perform this, do I need to do this myself? I need to duplicate these object because that I want different threads to u

Re: Annoying Garbage characters in OIDs

2005-08-04 Thread Johnny Gonzalez
Hello Steve, --- "Dr. Stephen Henson" <[EMAIL PROTECTED]> escribió: > On Wed, Aug 03, 2005, Johnny Gonzalez wrote: > > > > > > > So this seems to be ok. Then I process the > requests > > with OpenCA, configured to use OpenSSL-0.9.8. > Could > > this be a problem in OpenCA? What do you think t

RSA_privtae_eccrypt() is causing the STACK DUMP !!!

2005-08-04 Thread Rajeshwar Singh Jenwar
Hi All, I am using pSOS on ARM 7.0 LE board. RSA_private_encrypt() which is needed to "signing the private key with hash" is causing a "STACK CRASH" ? The Function trace is :- RSA_private_encrypt() -> RSA_eay_private_encrypt() -> loop of ( BN_mod_exp_mount() -> BN_from_montgomery() ) and it i