RE: Having problem using SSL

2012-01-05 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Dr. Stephen Henson > Sent: Thursday, 05 January, 2012 11:34 > On Wed, Jan 04, 2012, vhow...@currenex.com wrote: > error:05067068:Diffie-Hellman routines:GENERATE_KEY:key size too small > The above problem is cause by FIPS mode refusing to gene

Re: socket functions on fds

2012-01-05 Thread Michael Smith
On Thu, 5 Jan 2012 13:45:33 + (GMT) Nathan Smyth wrote: > Can you use the standard socket functions (i.e. poll/select) on a fd > for a ssl connection? > I know you need to use the ssl_read/writes and other functions etc > to actually 'do stuff', but do the std socket state checking > funct

RE: Having problem using SSL

2012-01-05 Thread David Booher
Personally, I find sslscan (http://sourceforge.net/projects/sslscan/) an invaluable tool to see just what the server accepts and what it does not Dave -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Jakob Bohm Sent: Thu

Re: Having problem using SSL

2012-01-05 Thread Dr. Stephen Henson
On Wed, Jan 04, 2012, vhow...@currenex.com wrote: > > Hello, > > I have a problem using SSL. When I click run, it immediately logs off. I > look at the log and I see: > > > LOG5[5748:5472]: stunnel 4.50 on x86-pc-mingw32-gnu platform > 2012.01.04 11:28:29 LOG5[5748:5472]: Compiled/running wi

RE: That mean old Electric Fence

2012-01-05 Thread David Booher
I finally figured this out: ./config set the platform as debug-linux-elf I ran a "Configure linux-elf shared" and that solved the problem, no electric fence debug messages. From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of David Booher Sent: Wednesday

Re: socket functions on fds

2012-01-05 Thread Jakob Bohm
On 1/5/2012 3:42 PM, Jakob Bohm wrote: On 1/5/2012 2:45 PM, Nathan Smyth wrote: Quick question. Can you use the standard socket functions (i.e. poll/select) on a fd for a ssl connection? I know you need to use the ssl_read/writes and other functions etc to actually 'do stuff', but do the std

RES: socket functions on fds

2012-01-05 Thread Leonardo
HI all, I'm using in Windows XP, Visual Studio 10.0. Something like: int s; fd_set FDRead; ... s = accept(..) ... SSL_accept(ssl); ... FD_ZERO(&FDRead) ... while (1) { FD_SET(s,&FDRead); select(0,&FDRead,NULL, NULL, o) ... if (FD_ISSET(s,&FDRead)){ ... FD_C

Re: openssl FIPS and linux kernel crypto

2012-01-05 Thread Steve Marquess
On 01/04/2012 10:00 PM, David Weidenkopf wrote: > Hello, has anyone ever tried to incorporate the FIPS crypto > module(sepcifically the crypto algorithms) into a kernel module? Or the > feasibility of such an effort? The idea is that you then have FIPS capable > crypto in the kernel. The kernel

Re: Having problem using SSL

2012-01-05 Thread Jakob Bohm
On 1/4/2012 6:36 PM, vhow...@currenex.com wrote: Hello, I have a problem using SSL. When I click run, it immediately logs off. I look at the log and I see: LOG5[5748:5472]: stunnel 4.50 on x86-pc-mingw32-gnu platform 2012.01.04 11:28:29 LOG5[5748:5472]: Compiled/running with OpenSSL 0.9.8

Re: socket functions on fds

2012-01-05 Thread Jakob Bohm
On 1/5/2012 2:45 PM, Nathan Smyth wrote: Quick question. Can you use the standard socket functions (i.e. poll/select) on a fd for a ssl connection? I know you need to use the ssl_read/writes and other functions etc to actually 'do stuff', but do the std socket state checking functions work on

socket functions on fds

2012-01-05 Thread Nathan Smyth
Quick question. Can you use the standard socket functions (i.e. poll/select) on a fd for a ssl connection? I know you need to use the ssl_read/writes and other functions etc to actually 'do stuff', but do the std socket state checking functions work on a socket that has SSL initiated? Thanks!!

Having problem using SSL

2012-01-05 Thread vhowell
Hello, I have a problem using SSL. When I click run, it immediately logs off. I look at the log and I see: LOG5[5748:5472]: stunnel 4.50 on x86-pc-mingw32-gnu platform 2012.01.04 11:28:29 LOG5[5748:5472]: Compiled/running with OpenSSL 0.9.8r-fips 8 Feb 2011 2012.01.04 11:28:29 LOG5[5748:5472