FIPS fail

2008-10-01 Thread Thomas J. Hruska
Feel free to follow along with this e-mail: http://www.slproweb.com/download/bad_openssl.zip I just zipped up the contents of the 'out32dll' directory. What you see is what I've got in my out32dll directory. And now onto the main part of the e-mail. This is my first time building FIPS but

Re: Link error

2008-10-01 Thread Michael S. Zick
On Wed October 1 2008, Alex Chen wrote: > I am updating OpenSSL from 0.9.7e to 0.9.8i. There are some new files > and some files are moved. Most noticeably, there is a new 'engines' > directory that seems to host > some files previously was under crypto/engine, or their equivalent. > > I

Link error

2008-10-01 Thread Alex Chen
I am updating OpenSSL from 0.9.7e to 0.9.8i. There are some new files and some files are moved. Most noticeably, there is a new 'engines' directory that seems to host some files previously was under crypto/engine, or their equivalent. I first followed the instruction in INSTALL.WIN32 an

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Dan Ribe
Thanks guys, Removing the semi colon fixes the problem ! Cheers :) On Thu, Oct 2, 2008 at 3:46 AM, Kelly, Tom <[EMAIL PROTECTED]> wrote: > > > David Schwartz wrote: > >> "09dirkd+sRoXWShF8ctVVb4B1PAFTOBEa8diickehnAyEq6KhzLWpQqhqCnylETw\r\n" >>> "Drys2uVaAzmRhS6tGJ2fdwPnlSLJrQbHuP938Bkyx

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Kelly, Tom
David Schwartz wrote: "09dirkd+sRoXWShF8ctVVb4B1PAFTOBEa8diickehnAyEq6KhzLWpQqhqCnylETw\r\n" "Drys2uVaAzmRhS6tGJ2fdwPnlSLJrQbHuP938BkyxNhdYN8drfqb\r\n"; You appear to have an extra ";" here ---^ But that should give you a compilation error. "-END RSA PRIV

RE: Leaks X509

2008-10-01 Thread David Schwartz
Stanislav Mikhailenko: > Hello I use openssl 0.9.8i in my project under Win32. > There are some leaks detected when i do just it: > > X509* x=X509_new(); > X509_free(); > > It was in previous versions too. > What should i do to remove this? Did you confirm that the memory was leake

Re: OpenSSL Version Compatabitlity issues

2008-10-01 Thread Kenneth Goldman
In general, I find that openssl routinely breaks backward compatibility. Even header files are incompatibly - compiling with one version and linking with another will cause errors. It would be wonderful to finally get to a version 1.0 which would freeze the existing API and guarantee backward com

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Patrick Patterson
Hi Dan: Dan Ribe wrote: > Hi, > > I am trying to read the private key from the memory buffer (code snippet > below), But PEM_read_bio_PrivateKey() always returns an error : OpenSSL > error: error:0906D06C:PEM routines:PEM_read_bio:no start line > > Can anyone please point out what I am doing wro

Leaks X509

2008-10-01 Thread TDMS Inc.
Hello I use openssl 0.9.8i in my project under Win32. There are some leaks detected when i do just it: X509* x=X509_new(); X509_free(); It was in previous versions too. What should i do to remove this? -- Best Regards, Stanislav Mikhailenko __

Re: Client Certificates

2008-10-01 Thread Patrick Patterson
Hi Felix Felix Ingram wrote: > 2008/10/1 vinni rathore <[EMAIL PROTECTED]>: >> Hello, >> >> As your problem says that you are getting "local issuer certificate" >> problem that means that client certificate is signed with a particular >> CA certificate and that certificate is not found at the time

Help needed in including debug statements in the sockets in SSL.

2008-10-01 Thread prashanth s joshi
Hi SSL experts, I am working on the SSL decryption currently. My immediate requirement is as follows: I need to include some debugging statements in the socket calls such as recv and send. How do I do that? What are all the changes that I need to carry out to the make file etc.? If you could be po

RE: Reading private key from Memory Buffer.

2008-10-01 Thread David Schwartz
> "09dirkd+sRoXWShF8ctVVb4B1PAFTOBEa8diickehnAyEq6KhzLWpQqhqCnylETw\r\n" > > "Drys2uVaAzmRhS6tGJ2fdwPnlSLJrQbHuP938BkyxNhdYN8drfqb\r\n"; > > You appear to have an extra ";" here ---^ > But that should give you a compilation error. > > > "-END RSA PRIVATE KEY

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Goetz Babin-Ebell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Ribe wrote: | Thanks Tom for the help. Hello Dan, | | It seems that there is some problem with the private key which I am | passing. With your key or newly generated key this logic works fine. Now | the error which I am getting is like : | | OpenS

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Kelly, Tom
Dan Ribe wrote: Thanks Tom for the help. It seems that there is some problem with the private key which I am passing. With your key or newly generated key this logic works fine. Now the error which I am getting is like : OpenSSL error: error:0906D066:PEM routines:PEM_read_bio:bad end line An

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Dan Ribe
Thanks Tom for the help. It seems that there is some problem with the private key which I am passing. With your key or newly generated key this logic works fine. Now the error which I am getting is like : OpenSSL error: error:0906D066:PEM routines:PEM_read_bio:bad end line And last lines of my k

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Kelly, Tom
Hmmm. Here's my example program (derived from yours). Without the "\r\n" at the end of the lines, I get the same error you do. With the code as below, it works fine: $ cc -o readkey readkey.c -lcrypto $ ./readkey Success $ #include #include char *key = "-BEGIN RSA PRIVATE KEY-\r\n

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Dan Ribe
Tom, Tried your suggestion, but it is not working ! Any other clues on this ? Thanks much, Dan On Wed, Oct 1, 2008 at 7:04 PM, Kelly, Tom <[EMAIL PROTECTED]> wrote: > > > Dan Ribe wrote: > >> Hi, >> >> I am trying to read the private key from the memory buffer (code snippet >> below), But PEM_

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Kelly, Tom
Dan Ribe wrote: Hi, I am trying to read the private key from the memory buffer (code snippet below), But PEM_read_bio_PrivateKey() always returns an error : OpenSSL error: error:0906D06C:PEM routines:PEM_read_bio:no start line Can anyone please point out what I am doing wrong here. I am prett

Reading private key from Memory Buffer.

2008-10-01 Thread Dan Ribe
Hi, I am trying to read the private key from the memory buffer (code snippet below), But PEM_read_bio_PrivateKey() always returns an error : OpenSSL error: error:0906D06C:PEM routines:PEM_read_bio:no start line Can anyone please point out what I am doing wrong here. I am pretty new to OpenSSL, so

Re: Client Certificates

2008-10-01 Thread Felix Ingram
2008/10/1 vinni rathore <[EMAIL PROTECTED]>: > Hello, > > As your problem says that you are getting "local issuer certificate" > problem that means that client certificate is signed with a particular > CA certificate and that certificate is not found at the time of > Handshaking.. so please confirm

Re: openssl self test failure

2008-10-01 Thread Kyle Hamilton
These tests are meant to fail. Specifically, they check the proxy certificate proofs -- in order to verify that the proof mechanism hasn't regressed to some prior state, every possibility must be checked during the tests. This means that things that are supposed to succeed are tested to succeed,

exception with purify in bn_mont.c:402 (v=bn_mul_add_words(rp,np,nl,(rp[0]*n0)&BN_MASK2);)

2008-10-01 Thread Rohit Omar
Hi I am getting exception in crypto\bn\bn_mont.c:402 (v=bn_mul_add_words(rp,np,nl,(rp[0]*n0)&BN_MASK2);) while executing with Rational purify. I think bn_mul_add_words called as assembly code from crypto\bn\asm\bn_win32.asm. Please see following stacktrace [E] EXU: Unhandled exception