Loading apps/engine.c +10 −0 Original line number Original line Diff line number Diff line Loading @@ -449,6 +449,7 @@ skip_arg_loop: const int *nids; const int *nids; ENGINE_CIPHERS_PTR fn_c; ENGINE_CIPHERS_PTR fn_c; ENGINE_DIGESTS_PTR fn_d; ENGINE_DIGESTS_PTR fn_d; ENGINE_PKEY_METHS_PTR fn_pk; if (ENGINE_get_RSA(e) != NULL if (ENGINE_get_RSA(e) != NULL && !append_buf(&cap_buf, "RSA", && !append_buf(&cap_buf, "RSA", Loading Loading @@ -487,6 +488,15 @@ skip_ciphers: goto end; goto end; skip_digests: skip_digests: fn_pk = ENGINE_get_pkey_meths(e); if(!fn_pk) goto skip_pmeths; n = fn_pk(e, NULL, &nids, 0); for(k=0 ; k < n ; ++k) if(!append_buf(&cap_buf, OBJ_nid2sn(nids[k]), &cap_size, 256)) goto end; skip_pmeths: if (cap_buf && (*cap_buf != '\0')) if (cap_buf && (*cap_buf != '\0')) BIO_printf(bio_out, " [%s]\n", cap_buf); BIO_printf(bio_out, " [%s]\n", cap_buf); Loading crypto/engine/eng_fat.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -154,6 +154,7 @@ int ENGINE_register_complete(ENGINE *e) ENGINE_register_ECDSA(e); ENGINE_register_ECDSA(e); #endif #endif ENGINE_register_RAND(e); ENGINE_register_RAND(e); ENGINE_register_pkey_meths(e); return 1; return 1; } } Loading crypto/engine/engine.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -465,6 +465,7 @@ int ENGINE_set_load_privkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f); int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f); int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f); int ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f); int ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f); int ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f); int ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f); int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f); int ENGINE_set_flags(ENGINE *e, int flags); int ENGINE_set_flags(ENGINE *e, int flags); int ENGINE_set_cmd_defns(ENGINE *e, const ENGINE_CMD_DEFN *defns); int ENGINE_set_cmd_defns(ENGINE *e, const ENGINE_CMD_DEFN *defns); /* These functions allow control over any per-structure ENGINE data. */ /* These functions allow control over any per-structure ENGINE data. */ Loading Loading
apps/engine.c +10 −0 Original line number Original line Diff line number Diff line Loading @@ -449,6 +449,7 @@ skip_arg_loop: const int *nids; const int *nids; ENGINE_CIPHERS_PTR fn_c; ENGINE_CIPHERS_PTR fn_c; ENGINE_DIGESTS_PTR fn_d; ENGINE_DIGESTS_PTR fn_d; ENGINE_PKEY_METHS_PTR fn_pk; if (ENGINE_get_RSA(e) != NULL if (ENGINE_get_RSA(e) != NULL && !append_buf(&cap_buf, "RSA", && !append_buf(&cap_buf, "RSA", Loading Loading @@ -487,6 +488,15 @@ skip_ciphers: goto end; goto end; skip_digests: skip_digests: fn_pk = ENGINE_get_pkey_meths(e); if(!fn_pk) goto skip_pmeths; n = fn_pk(e, NULL, &nids, 0); for(k=0 ; k < n ; ++k) if(!append_buf(&cap_buf, OBJ_nid2sn(nids[k]), &cap_size, 256)) goto end; skip_pmeths: if (cap_buf && (*cap_buf != '\0')) if (cap_buf && (*cap_buf != '\0')) BIO_printf(bio_out, " [%s]\n", cap_buf); BIO_printf(bio_out, " [%s]\n", cap_buf); Loading
crypto/engine/eng_fat.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -154,6 +154,7 @@ int ENGINE_register_complete(ENGINE *e) ENGINE_register_ECDSA(e); ENGINE_register_ECDSA(e); #endif #endif ENGINE_register_RAND(e); ENGINE_register_RAND(e); ENGINE_register_pkey_meths(e); return 1; return 1; } } Loading
crypto/engine/engine.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -465,6 +465,7 @@ int ENGINE_set_load_privkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f); int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f); int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f); int ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f); int ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f); int ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f); int ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f); int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f); int ENGINE_set_flags(ENGINE *e, int flags); int ENGINE_set_flags(ENGINE *e, int flags); int ENGINE_set_cmd_defns(ENGINE *e, const ENGINE_CMD_DEFN *defns); int ENGINE_set_cmd_defns(ENGINE *e, const ENGINE_CMD_DEFN *defns); /* These functions allow control over any per-structure ENGINE data. */ /* These functions allow control over any per-structure ENGINE data. */ Loading