RES: PEM_read_PrivateKey

2012-10-30 Thread Leonardo Laface de Almeida
Dave, The Page: http://www.openssl.org/docs/crypto/pem.html Actually, the code is not equal I've reported here. In fact, I will create a project only for this callback problem. The password problem was copy-paste error. I'm sorry about it. I'm going to take the the error code, then I reply

RES: PEM_read_PrivateKey

2012-10-30 Thread Leonardo Laface de Almeida
Hi, The code for my project example is attached. The error code is as well. The error remains. For generating Key, the callback is called. For getting Private Key, the callback is not called. What's wrong here? I really appreciate any help. Thanks. Leonardo attachment:

Re: RES: PEM_read_PrivateKey

2012-10-30 Thread Dr. Stephen Henson
On Tue, Oct 30, 2012, Leonardo Laface de Almeida wrote: Hi, The code for my project example is attached. The error code is as well. The error remains. For generating Key, the callback is called. For getting Private Key, the callback is not called. What's wrong here? I really

RES: PEM_read_PrivateKey

2012-10-29 Thread Leonardo Laface de Almeida
@Gerardo, I'm having a problem with this function and I will use your thread for some support. @All The problem I've got is quite simple. The callback I pass throught this function is not called. I inserted a breakpoint into cb and it's not called at all. I'm using OpenSSL 1.0.1c. I'm sure