SSL_CTX_use_PrivateKey_file ... noisy output

2005-05-30 Thread Cesc
Hi, When I load the private key, using SSL_CTX_use_PrivateKey_file function, and I fail to enter the correct one, i get the following output (actually, i loop three times to ask the user to reenter the password). How can i make these error lines not appear? I use the password_cb function to

Re: how to sign as per PKCS1 v2.0.

2005-05-30 Thread Dr. Stephen Henson
On Mon, May 30, 2005, Suram Chandra Sekhar wrote: Hi all, I want to know the sequence for signing and verifying a piece of data as per PKCS1 v2.0 specification using signature algorithm identifier as SHA1 using openssl v 0.9.7c. My understanding is that RSA_sign uses the PKCS1v2.1

Re: EVP_SignFinal third parameter type

2005-05-30 Thread Ivan Fraixedes
Silvia Gisela Pavon Velasco wrote: I'm trying to sign a file and when I try to compile it I get the following warning in the EVP_SignFinal function: $ cc -o sign_test -I/opt/openssl/include -lssl -lcrypto sign_test.c cc: sign_test.c, line 43: warning 604: Pointers are not

how to sign as per PKCS1 v2.0.

2005-05-30 Thread Suram Chandra Sekhar
Hi all, I want to know the sequence for signing and verifying a piece of data as per PKCS1 v2.0 specification using signature algorithm identifier as SHA1 using openssl v 0.9.7c. My understanding is that RSA_sign uses the PKCS1v2.1 specification. Awaiting your valuable response.. Regards

Re: EVP_SignFinal third parameter type

2005-05-30 Thread Ivan Fraixedes
I think that you should initialized the EVP_MD_CTX ctx with this function: void EVP_MD_CTX_init(EVP_MD_CTX *ctx); or get a EVP_MD_CTX with this function: EVP_MD_CTX *EVP_MD_CTX_create(void); Good luck! Silvia Gisela Pavon Velasco wrote: Nils, I changed to %d instead of %s it worked =)

x64 bit complle partially successful

2005-05-30 Thread Majzik Matyas
Hi! I have successfully compiled OpenSSL 0.9.8-beta2 using the new platform SDK which includes 64 bit compiler for AMD 64 and EM64T processors on windows x64. After the compile the tests are successful and even my 64 bit applications worked properly and fast :)) (Of course I had to use do_ms or

SSL/HTTPS Stream.

2005-05-30 Thread David
Hello. I am trying to connect to a secure (https)webserver using PHP. The problem is that PHP needs to have https as a registered stream (which it doesnt). I have installed OpenSSL, and enabled the extensions in PHP. Can I assume that OpenSSL doesnt add https as a registered stream, or

Openssl multithreaded use with only 2 threads and SSL_CTX per thread

2005-05-30 Thread Nadav Golombick
If I am using only 2 threads with each thread containing its own SSL_CTX object, do I still need to use locking functions? -- Nadav Golombick

Re: EVP_SignFinal third parameter type

2005-05-30 Thread Silvia Gisela Pavon Velasco
This solved the warning. Thanks Silvia G. Pavón V. Procesos de Facturación Alestra S.A. Tel. 8748 6100 x4107 Goetz Babin-Ebell [EMAIL PROTECTED]

Re: Openssl multithreaded use with only 2 threads and SSL_CTX per thread

2005-05-30 Thread Bodo Moeller
On Sun, May 29, 2005 at 03:43:33PM +0200, Nadav Golombick wrote: If I am using only 2 threads with each thread containing its own SSL_CTX object, do I still need to use locking functions? Yes! This is very important because OpenSSL uses some global data structures that will be shared by all

Re: SSL/HTTPS Stream.

2005-05-30 Thread Joseph Oreste Bruni
This is also a function of your web server. If you are running Apache you can use mod_ssl. On May 28, 2005, at 7:47 AM, David wrote: Hello. I am trying to connect to a secure (https) webserver using PHP. The problem is that PHP needs to have https as a registered stream (which it

[ANNOUNCE] OpenSSL 0.9.8 beta 3 released

2005-05-30 Thread Richard Levitte - VMS Whacker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OpenSSL version 0.9.8 Beta 3 OpenSSL - The Open Source toolkit for SSL/TLS http://www.openssl.org/ OpenSSL is currently in a release cycle. The third beta is now released. The beta release is available for

Checking for socket read state

2005-05-30 Thread Pj
Hi all quick question of you guru's. If I wish to check to see if data is ready to be read on my SSL connection do I just use normal select or is there something in the SSL libraries that I need to use? I normally use the function below: int CheckRead(SOCKET socket) { struct timeval