Re: [opensc-devel] sc_card_valid: Assertion `card != ((void *)0)' failed

2007-01-09 Thread Andreas Jellinghaus
here is what I get from pkcs15-tool.c plus util.c, should work fine for you. you need to search for readers, see if there are cards in them, connect the card and then you can pkcs15_bind it. good luck! Andreas p.s. if this doesn't help, please post example code so we can have a look. sc

[opensc-devel] sc_card_valid: Assertion `card != ((void *)0)' failed

2007-01-09 Thread Michael Phillips
I am trying to create small utility using opensc. When I call: sc_pkcs15_bind(card, &p15card); I get: test: card.c:666: sc_card_valid: Assertion `card != ((void *)0)' failed. Aborted This makes no sense since I can compile opensc from source and it works. I pretty much just took the code from