0
を返し、私は問題を抱えているMacOSの上EVP_get_cipherbyname
を呼び出すとき:上記のコードでがEVP_get_cipherbynameは常にnull
const char *cipher_str = "aes-256-cbc";
const evp_cipher_st *cipher1 = EVP_aes_256_cbc();
const evp_cipher_st *cipher2 = EVP_get_cipherbyname(cipher_str);
、cipher1
は常に有効なevp_cipher_st *
オブジェクトに設定され、cipher2
は常にnullになります。私は、cipher2
を生成しないcipher_str
のインスタンスを見つけませんでした。
何か間違っていますか?これを動作させるために何か別の呼び出しがありますか?
2つの異なる言語のタグをスパムする理由は何ですか? – Olaf