Hi all, I'm writing an engine to support a smart card cryptography, for the moment, it only prints out messages. I redefine in the RSA_METHOD the 'rsa_pub_enc', rsa_pub_dec', rsa_pri_enc' and 'rsa_priv_dec' methods but during the SSL handshack, my methods are not used (on the client side)! I can read 'engine myengine set.' on the output, but no other of my messages.
I tell my client to set my engine with this code: if((e = ENGINE_by_id("myengine")) == NULL) { BIO_printf(bio_err,"invalid engine\n"); ERR_print_errors(bio_err); goto end; } if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) { BIO_printf(bio_err,"can't use that engine\n"); ERR_print_errors(bio_err); goto end; } BIO_printf(bio_err,"engine \"%s\" set.\n", engine_id); ENGINE_free(e); Thanks for help. -- Camille [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]