It appears that there may be a bug? with the call
to EVP_get_cipherbyname(). My private key is saved in the following
format
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE-CBC,D2C954A223AC6C1C so far so good (I hope).. when I use the function
PEM_Read_PrivateKey(fp, null, null, null) to construct the key, it always
returns null. When I debugged it, I found that EVP_get_cipherbyname()
called in PEM_get_EVP_CIPHER_INFO() always returns NULL when passed the
encryption scheme (in this case, triple-des in cbc mode).
Am I doing something wrong? I'm using opensllv0.9.6b on
Win2K.
Thanks.
Chris Mollis
|
- Re: Seems to be a bug with EVP_get_cipherbyname(p) chris mollis
- Re: Seems to be a bug with EVP_get_cipherbyname(p) Dr S N Henson