I have no idea. Get debugger and see why RSA_public_encrypt() OpenSSL
function fails. Also you can modify the program and add a call to print out
OpenSSL errors stack so we can see why it fails:

           /* we use key filename as key name here */
           if(encrypt_file(mngr, argv[1], argv[2]) < 0) {
>>>         ERR_print_errors_fp(stdout);
               xmlSecKeysMngrDestroy(mngr);
               return(-1);
           }


Aleksey





Yann Le Bars wrote:


I get the following error when running the encrypt3 example
(http://www.aleksey.com/xmlsec/api/xmlsec-encrypt-with-session-key.html)
...



_______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to