sc_pkcs15_pincache_revalidate: Avoid compiler warning 'discards qualifiers from pointer target type'
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4927 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
de6021d6f2
commit
5b69b39c33
|
@ -502,7 +502,7 @@ void sc_pkcs15_pincache_add(struct sc_pkcs15_card *p15card, struct sc_pkcs15_obj
|
|||
}
|
||||
|
||||
/* Validate the PIN code associated with an object */
|
||||
int sc_pkcs15_pincache_revalidate(struct sc_pkcs15_card *p15card, sc_pkcs15_object_t *obj)
|
||||
int sc_pkcs15_pincache_revalidate(struct sc_pkcs15_card *p15card, const sc_pkcs15_object_t *obj)
|
||||
{
|
||||
struct sc_context *ctx = p15card->card->ctx;
|
||||
sc_pkcs15_object_t *pin_obj;
|
||||
|
|
|
@ -652,7 +652,7 @@ int sc_pkcs15_find_so_pin(struct sc_pkcs15_card *card,
|
|||
void sc_pkcs15_pincache_add(struct sc_pkcs15_card *, struct sc_pkcs15_object *,
|
||||
const u8 *, size_t);
|
||||
int sc_pkcs15_pincache_revalidate(struct sc_pkcs15_card *p15card,
|
||||
sc_pkcs15_object_t *obj);
|
||||
const sc_pkcs15_object_t *obj);
|
||||
void sc_pkcs15_pincache_clear(struct sc_pkcs15_card *p15card);
|
||||
|
||||
int sc_pkcs15_encode_dir(struct sc_context *ctx,
|
||||
|
|
Loading…
Reference in New Issue