removed undefined reference to sc_pkcs15_create

This commit is contained in:
Frank Morgner 2019-06-05 04:32:54 +02:00
parent 45dfc14573
commit 86c4d3384b
2 changed files with 1 additions and 6 deletions

View File

@ -770,7 +770,6 @@ int sc_pkcs15_get_bitstring_extension(struct sc_context *ctx,
int sc_pkcs15_create_cdf(struct sc_pkcs15_card *card,
struct sc_file *file,
const struct sc_pkcs15_cert_info **certs);
int sc_pkcs15_create(struct sc_pkcs15_card *p15card, struct sc_card *card);
int sc_pkcs15_find_prkey_by_id(struct sc_pkcs15_card *card,
const struct sc_pkcs15_id *id,

View File

@ -872,11 +872,7 @@ sc_pkcs15init_add_app(struct sc_card *card, struct sc_profile *profile,
sc_pkcs15_free_object(pin_obj);
LOG_TEST_RET(ctx, r, "Card specific create application DF failed");
/* Store the PKCS15 information on the card
* We cannot use sc_pkcs15_create() because it makes
* all sorts of assumptions about DF and EF names, and
* doesn't work if secure messaging is required for the
* MF (which is the case with the GPK) */
/* Store the PKCS15 information on the card */
app = (struct sc_app_info *)calloc(1, sizeof(*app));
if (app == NULL)
LOG_TEST_RET(ctx, SC_ERROR_OUT_OF_MEMORY, "Failed to allocate application info");