Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dirty fix for invalid PBM mask calculation in sasc-ng
--- sc-clean/systems/sc-seca/sc-seca.c 2010-11-13 21:23:27.178801999 +0100
+++ sc/systems/sc-seca/sc-seca.c 2010-11-13 19:28:42.290801995 +0100
@@ -274,6 +274,7 @@
bool cSmartCardSeca::CheckAccess(const unsigned char *data, const cProviderScSeca *p)
{
+ return true;
struct SecaChannelInfo *sci=(struct SecaChannelInfo*)data;
if(sci->date[0]>p->date[0] || (sci->date[0]==p->date[0] && sci->date[1]>p->date[1]))
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment