RE: Debugging OpenSSL with Visual Studio

2009-10-21 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of sandeep kiran p Sent: Saturday, 17 October, 2009 02:12 Can someone point me to the instructions that are needed to build and debug OpenSSL using Visual Studio on windows? I want to navigate through the code for the

Re: Generating sect163k1 key pairs

2009-10-21 Thread Doug Bailey
- Jeffrey Walton noloa...@gmail.com wrote: Hi Doug, I am trying to figure out where the padding bits are applied? ... The two private keys are described in a different number of bytes. Since the 2nd generated private key is shown in 20 bytes i.e. 160 bits, is it assumed that

[no subject]

2009-10-21 Thread Adam Rosenstein
Hi, I'm trying to use indirect CRLs in my application. I cannot figure out how to get the CRL signer's cert to be verified though. I keep getting CRL path validation error I do something like this: cs_ctx = X509_STORE_CTX_new(); if (!cs_ctx) { error=malloc error;

Re: your mail

2009-10-21 Thread Dr. Stephen Henson
On Wed, Oct 21, 2009, Adam Rosenstein wrote: Hi, I'm trying to use indirect CRLs in my application. I cannot figure out how to get the CRL signer's cert to be verified though. I keep getting CRL path validation error I do something like this: cs_ctx = X509_STORE_CTX_new();

RE: your mail

2009-10-21 Thread Adam Rosenstein
I'm using v1.0.0 Beta 3. My code is perl xs glue but it looks something like this: purpose= X509_PURPOSE_MIN - 1; cert_store = X509_STORE_new(); revokes= crl_stack; X509_STORE_set_flags(cert_store, 0); vpm= X509_VERIFY_PARAM_new();

Re: Generating sect163k1 key pairs

2009-10-21 Thread Jeffrey Walton
Hi Doug, You'll have to forgive my ignorance. I'm not sure why I'm having difficulties answering you. I'll try to walk you through what I observe. I'm a Windows guy, so don't hold it against me that I use 'type' instead of 'cat'. I'm also going to use F(p) rather than F(2^m) since I believe its

Re: Debugging OpenSSL with Visual Studio

2009-10-21 Thread sandeep kiran p
Thanks Dave. I figured out how to do this. I first built a static version of libeay32 and ssleay32 using ms\nt.mak (added /Zi and removed /Wx in CFLAGS). I then created an empty VS2005 project and added apps\req.c apps\apps.c apps\app_rand.c to the project (I had to look into req utility, similar

Re: [FWD] Build incorrect crypt/decrypt in Win32. x86. MSVC 2003. MinGW.

2009-10-21 Thread sandeep kiran p
Can someone comment on why this fails on windows? I too observed that the decryption does not result in the original plain text on windows. -Sandeep On Sun, Oct 18, 2009 at 5:58 AM, Lutz Jaenicke jaeni...@openssl.org wrote: Forwarded to openssl-users for public discussion. Best regards,