pkcs15-isoApplet.c: fix compiler warning
pkcs15-isoApplet.c:268:38: warning: address of 'df->path' will always evaluate to 'true' [-Wpointer-bool-conversion] if(!pin || !pin_len || !df || !&df->path) ~ ~~~~^~~~
This commit is contained in:
parent
a8c741002d
commit
ed30d4ebb7
|
@ -265,7 +265,7 @@ isoApplet_create_pin(sc_profile_t *profile, sc_pkcs15_card_t *p15card, sc_file_t
|
|||
|
||||
LOG_FUNC_CALLED(card->ctx);
|
||||
|
||||
if(!pin || !pin_len || !df || !&df->path)
|
||||
if(!pin || !pin_len || !df)
|
||||
{
|
||||
LOG_FUNC_RETURN(card->ctx, SC_ERROR_INVALID_ARGUMENTS);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue