Re: Ethereal does not show the SSL details

2009-08-26 Thread Kelly, Tom
You probably need to tell wireshark to decode as SSL, because that's a non-standard port. Under the "Analyze" menu, there will be a "Decode as". You can use that to tell wireshark to use a particular decoder for a particular stream. Select a packet in the flow you want to analyse. Select "Decod

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: Reading private key from Memory Buffer.

2008-10-01 Thread Kelly, Tom
fy your program to output your key string to a file and compare the output file with the file that works to see if you have something wrong with the actual text in the program. Tom thanks. On Wed, Oct 1, 2008 at 10:22 PM, Kelly, Tom <[EMAIL PROTECTED]> wrote: Hmmm. Here's my exam

Re: Reading private key from Memory Buffer.

2008-10-01 Thread Kelly, Tom
ing(ERR_get_error(), buffer); fprintf(stderr, "OpenSSL error: %s", buffer); } else fprintf(stderr, "Success\n"); } Tom Dan Ribe wrote: Tom, Tried your suggestion, but it is not working ! Any other clues on this ? Thanks much,

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