Hello, I need to find a key in a certificate to crypt data with it, Firstly, I'm using X509_get_pubkey(...) function and I get my EVP_PKEY: ok on this point, it works.
Secondly, I want to crypt my data with it, so I've to use EVP_PKEY_encrypt_init(ctx) functions before launching the EVP_PKEY_encrypt(...). So I declare "EVP_PKEY_CTX *ctx;" but visual refuse to compile, it can't find the identificator. Someone could say me why? And how fix it? Thanks a lot. ps: error is "c:\crypto\engine.cpp(31) : error C2065: 'EVP_PKEY_CTX' : identificateur non déclaré" -- View this message in context: http://www.nabble.com/evp_pkey_ctx%2C-visual-can%27t-find%21-need-help.-tp25530351p25530351.html Sent from the OpenSSL - Dev mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
