I need to use this function
EVP_get_digestbyname(OBJ_nid2sn(i));
Whenever I call this function it returns NULL only .. how to fix this problem?
My value for i is 65 (RSA-SHA1).
Thanks
Did you call
OpenSSL_add_all_algorithms();
first (ideally when initializing your application) ? This ensures that the algorithms and error messages get properly loaded. After that your call should succeed (cf. the doc on this subject).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With