2017-09-17 19:38 GMT-03:00 Pablo Gabriel Gallardo <[email protected]>:
> 2017-09-17 16:58 GMT-03:00 Aleksey Sanin <[email protected]>:
>> The best approach would be to call RSA_set_flags(rsa, RSA_FLAG_EXT_PKEY)
>> from your code when you load the key (if you are sure this is a private
>> key).
>
> Nice! I'll try that and will let you know. I didn't know that I could
> set that flag manually. I think it will work :).

Aleksey,

I've applied your suggestion in my code and is working! Removing
RSA_FLAG_CACHE_PRIVATE from the condition doesn't affect my project
anymore.

Thank you for your help.

Best,

Pablo G. Gallardo
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to