PEM_write_RSAPrivateKey with AuthEnc mode and SHA-2 family?

2014-02-26 Thread Jeffrey Walton
What are the limits on PEM_write_RSAPrivateKey and EVP_CIPHER? Is it possible to use 256-bit security levels with authentication tags? I could not get "AES-256-HMAC-SHA-256" or "AES-256-CBC-HMAC-SHA1" to work, and I could not get "AES-256-GCM" to work. "AES-256-HMAC-SHA-256" and "AES-256-HMAC-SHA

Re: Preferred way to free ssl_comp_methods?

2014-02-26 Thread Jeffrey Walton
On Wed, Feb 26, 2014 at 5:23 PM, Viktor Dukhovni wrote: > On Wed, Feb 26, 2014 at 04:41:33PM -0500, Jeffrey Walton wrote: > >> This worked well under Linux with GCC. It cleared the Valgrind squawks. > > Why is anyone obsessed about freeing memory that is assigned to > static pointers at most once.

Re: Preferred way to free ssl_comp_methods?

2014-02-26 Thread Viktor Dukhovni
On Wed, Feb 26, 2014 at 04:41:33PM -0500, Jeffrey Walton wrote: > This worked well under Linux with GCC. It cleared the Valgrind squawks. Why is anyone obsessed about freeing memory that is assigned to static pointers at most once. There's no "memory leak" associated with such allocations becaus

Re: Doubt Openssl

2014-02-26 Thread Kyle Hamilton
"No source available" means that the debugging information cannot be found to display in your Eclipse environment. OpenSSL is compatible with Windows 7 x64, and your programs can make use of its features. You will not be able to trace through the OpenSSL library if you do not build it from source

Re: Preferred way to free ssl_comp_methods?

2014-02-26 Thread Jeffrey Walton
This worked well under Linux with GCC. It cleared the Valgrind squawks. /* Add to end of /ssl/ssl_ciph.c */ #ifndef OPENSSL_NO_COMP void free_compressions(void) __attribute__ ((destructor)); void free_compressions(void) { if (ssl_comp_methods != NULL) { sk_SSL_COMP_free(ssl_com

Re: SSL_Connect return 0 with error 5

2014-02-26 Thread Viktor Dukhovni
On Wed, Feb 26, 2014 at 04:52:11AM +, Afroz Jahan wrote: > We could not able to trace out where exactly the problem is as > SSL_connect() returned 0 with ErrorNo:5 > Error:error:0005:lib(0):func(0):DH lib $ perl -le 'print $!=5;' Input/output error The problem is at the socket la

Doubt Openssl

2014-02-26 Thread Alberto Redondo
I would like to use openssl with Windows 7 x64. We have a program running through Default ssl on Debian (wrote in C/C++ language) and we want to port this program to the windows environment and our election is Openssl. I've tried to use Openssl with eclipse(with MinGW) and it's a bit strange becaus

Re: Facing issues: executing openssl cmd in Windows 2012 server alone

2014-02-26 Thread Thomas J. Hruska
On 2/25/2014 6:21 AM, pachaiyappan R wrote: Hi , but the same cmd executing successfully in windows 2008 server. the successfully run cmd like as below *C:\Users\Administrator>openssl* *WARNING: can't open config file: E:\pachi\openssl/ssl/openssl.cnf* *OpenSSL> version* *OpenSSL 1.0.1f 6

SSL_Connect return 0 with error 5

2014-02-26 Thread Afroz Jahan
Hi, We could not able to trace out where exactly the problem is as SSL_connect() returned 0 with ErrorNo:5 Error:error:0005:lib(0):func(0):DH lib Thanks & Regards Afroz Jahan | Software Engineer EiQ Networks(r), Inc. | www.eiqnetworks.com e: afr...@eiqnetworks

Facing issues: executing openssl cmd in Windows 2012 server alone

2014-02-26 Thread pachaiyappan R
Hi , We are upgrading to latest Apache 2.4.7 with Openssl 1.0.1f for our application. for that we did compile apache 2.4.7 and openssl 1.0.1f in VC++2010 in *Windows 2008 server* . We are supporting our applications in Windows 2008 and Windows 2012 server. Apache -version command is run