64 bit windows support

2011-04-21 Thread Pankaj Aggarwal
Hi, I am currently debugging an issue in which our 64 bit library that uses OpenSSL 0.9.8k throws error (WSAENOTSOCK, 10038) while doing SSL_write, SSL_read and creating socket. Upon further investigation I found that the OpenSSL library uses socket descriptor as an int whereas for windows 64

SSL in FIPS mode

2010-07-28 Thread Pankaj Aggarwal
Hi, I want to know which encrypted private key formats can be used with the following function in FIPS mode: SSL_CTX_use_PrivateKey_file() It seems that the OpenSSL proprietary format for storing private keys ( which has a header like this -BEGIN RSA PRIVATE KEY- Proc-Type: 4,ENCRYPTED

Re: OpenSSL Error Handling

2010-05-29 Thread Pankaj Aggarwal
increase the no. of threads, I start to get exception. Is there any kind of locking requirement that is expected? Pankaj On Sun, May 30, 2010 at 5:28 AM, David Schwartz dav...@webmaster.comwrote: Pankaj Aggarwal wrote: I am able to think about the following approaches : 1. Keep a record

OpenSSL Error Handling

2010-05-26 Thread Pankaj Aggarwal
Hi, Our library uses OpenSSL(v 0.9.8k) in multithreaded environment. Recently I observed memory leak resulting from not calling ERR_remove_state(). After reading the documentation of this function, I see that ERR_remove_state should be called when a thread exits. Since we are using OpenSSL

Re: OpenSSL on IBMi

2010-04-07 Thread Pankaj Aggarwal
-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Pankaj Aggarwal Sent: 06 April 2010 09:59 To: openssl-users@openssl.org Subject: Re: OpenSSL on IBMi I am able to narrow down on the icc option that is causing the problem. icc -c temp1/abc.c -o abc.o QAPTL

Re: OpenSSL on IBMi

2010-04-06 Thread Pankaj Aggarwal
. From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Pankaj Aggarwal Sent: 05 April 2010 14:51 To: openssl-users@openssl.org Subject: Re: OpenSSL on IBMi Got it working ! Stuck in another error in openssl/crypto :-( icc -I. -I.. -I../include

Re: OpenSSL on IBMi

2010-04-05 Thread Pankaj Aggarwal
-independence, I'd investigate if I could run a PASE version of perl for the configure. G. -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Pankaj Aggarwal Sent: 04 April 2010 12:46 To: openssl-users@openssl.org Subject

Re: OpenSSL on IBMi

2010-04-05 Thread Pankaj Aggarwal
) OPTION(*LOG iMSG ) *AQAPTL/ICC: Unexpected exception MCH3601* On Mon, Apr 5, 2010 at 4:06 PM, Pankaj Aggarwal pankaj.aggar...@gmail.com wrote: Hi Shaw,Q I do have the qsh porting tools installed (which include icc, gmake etc.). I checked the CCSID for these tools. it's 1200. Now since my

OpenSSL on IBMi

2010-04-04 Thread Pankaj Aggarwal
Could somebody point me to the latest patch available (with instructions) for compiling openssl on IBMi (OS/400). Pankaj __ OpenSSL Project http://www.openssl.org User Support Mailing List

Re: OpenSSL on IBMi

2010-04-04 Thread Pankaj Aggarwal
. -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Pankaj Aggarwal Sent: 04 April 2010 10:05 To: openssl-users@openssl.org Subject: OpenSSL on IBMi Could somebody point me to the latest patch available (with instructions

FIPS capable openssl X509_get_pub_key

2009-09-22 Thread Pankaj Aggarwal
Hi, My code is using the FIPS capable openssl (0.9.8j) in FIPS Mode. X509_get_pub_key function is used to retrieve the public key from a signing certificate. pubKey = X509_get_pubkey(x509Cert); The returned pubKey has the FIPS ALLOW Flag set : if((pubKey-pkey.rsa)-flags

Re: FIPS capable openssl X509_get_pub_key

2009-09-22 Thread Pankaj Aggarwal
On Tue, Sep 22, 2009 at 5:00 PM, Dr. Stephen Henson st...@openssl.orgwrote: On Tue, Sep 22, 2009, Pankaj Aggarwal wrote: Hi, My code is using the FIPS capable openssl (0.9.8j) in FIPS Mode. X509_get_pub_key function is used to retrieve the public key from a signing certificate

fipscanister debug build with symbols for Visual C++

2009-09-05 Thread Pankaj Aggarwal
Hi, I want to use fipscanister.lib along with debugging information (symbols) in Visual C++. I have changed the following line in do_fips.bat as follows: perl util\mk1mf.pl dll debug %ASM% %TARGET% ms\ntdll.mak This creates out32dll.dbg folder. I am not able to step into the code using the

FIPS OpenSSL compilation error

2009-08-25 Thread Pankaj Aggarwal
I am using cygwin on windows xp to compile FIPS Openssl 1.2 using Visual studio 2005. I get the following error after doing ms\do_fips in openssl directory. Am I missing something? SET FIPS_CC=cl SET FIPS_CC_ARGS=/Fotmp32dll\fips_premain.obj -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2