HELP! A strange PROBLEM when loading a EVP_CIPHER object in my smime application
I am implementing a linux application about smime, it requires loading private-key for decryption. I rewrite the load_key function just the same as OpenSSL. But It returns a NULL pointer. By debugging, I found that an error may occurs when adding ciphers to the hash table. The EVP_CIPHER object seems wrong. So I wrote the following codes for testing.