Add the possibility to use keys handled by engines in more
[openssl.git] / apps / smime.c
index 16b940084bc30cca390803a954deb0c8eb3308bd..0a16bbc4dd638b58961c216fca51b85bed653cb1 100644 (file)
@@ -399,7 +399,7 @@ int MAIN(int argc, char **argv)
        } else keyfile = NULL;
 
        if(keyfile) {
-               if(!(key = load_key(bio_err,keyfile, FORMAT_PEM, passin))) {
+               if(!(key = load_key(bio_err,keyfile, FORMAT_PEM, passin, NULL))) {
                        BIO_printf(bio_err, "Can't read recipient certificate file %s\n", keyfile);
                        ERR_print_errors(bio_err);
                        goto end;