Fwd: how to run gdb in openssl

2008-10-07 Thread prashanth s joshi
Hi all,

Could anyone please tell me how to run the gdb in openssl?
In gdb I am running the command as path_of_bin/bin/openssl s_client -connect
ipaddress:4433.
But i get the error as:   Undefined command: .  Try help.
why is it so?
How do i ensure that the gdb runs correclty?

Regards,
Prashanth


-- Forwarded message --
From: prashanth s joshi [EMAIL PROTECTED]
Date: Tue, Oct 7, 2008 at 6:52 PM
Subject: how to run gdb in openssl
To: [EMAIL PROTECTED]


Hi all,

could anyone please tell me how to run the gdb in openssl?

Regards,
Prashanth


help regarding random numbers in openssl

2008-10-07 Thread prashanth s joshi
Hi all,

In openssl code which part actually handles catching of the random numbers
exchanged during the handshake?

Regards,
Prashanth..


Need to read the private key from a buffer

2008-10-02 Thread prashanth s joshi
Hi ,

if  I want SSL to read the private key from a buffer , what are the things
that need to be changed in the SSL code? what are the steps that are needed
to be carried out?

Thanks,
Prashanth


Help needed in including debug statements in the sockets in SSL.

2008-10-01 Thread prashanth s joshi
Hi SSL experts,

I am working on the SSL decryption currently. My immediate requirement is as
follows:
I need to include some debugging statements in the socket calls such as recv
and send. How do I do that? What are all the changes that I need to carry
out to the make file etc.? If you could be pointers to manipulate the make
file , to link etc, it would be very helpfull. (My intention is not just to
debug or trace the socket calls. My intention is actually to enhance the
socket call functions further after including the debug statements in the
socket calls.)

Regards,
Prashanth


Query on the BIO objects and the SSL_read function

2008-09-24 Thread prashanth s joshi
Hi all,
 I am new to the OpenSSL environment. I would like to know from the experts
 here about the BIO_read and BIO_write and the SSL_read and SSL_write.
 After a BIO object is created and associated with the i/o,  only BIO_read
 and BIO_write may be used. However why is that the SSL_read and SSL_write
 are still used even after the creation of BIO and after it is associated
 with a socket?
 Actually my intention is to replace the socket dependent calls totally from
 the OpenSSL and replace them with the buffer based calls. Is this possible?
 I understand here that socket dependent calls are the SSL_read and
 SSL_write.
 And BIO_read and BIO_write are buffer based calls?
 How the BIO_read and SSL_read are related?


 Regards,
 Prashanth