Another thing sorry...is somewhere defined when to use conversion functions
and when not to? I mean, in the previous version you had
#if defined(_WIN32) || defined(_WIN64)
static unsigned long bswap_32(unsigned long x)
{
.......
..now it always calls bebytes2long? Am I missing something?
thanks, dejan
> -----Original Message-----
> From: Thomas Harning [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 14, 2006 7:25 PM
> To: Dejan Gambin
> Cc: [email protected]; 'Corcoran David'
> Subject: RE: [Muscle] Muscle card support for OpenSC - found
> the problem
>
> On Sun, 13 Aug 2006 18:00:22 -0700
> "Dejan Gambin" <[EMAIL PROTECTED]> wrote:
>
> > error. Looking in debug log I can see it is trying to create
> > PKCS15-AODF with file-id of 4401, but the command sent to
> the card is
> > B0 5A 00 00 0E 01 44 15 50.....while it should be B0 5A 00 00 0E 50
> > 15 44 01. So it is being reversed and I suppoes it is
> related to the
> > BIG ENDIAN problem thath was solved by using function bebytes2ulong
> > and similar. The 5015 folder is created OK so muscle_create_file is
> > working fine but muscle_create_file is not.
> >
> > Any suggestion on how to solve this correctly?
> >
> Hmm... I suppose there needs to be some endian conversion
> functions at the FileID boundaries...
> Strange thing is... I've been able to get this to work on
> windows previously...
> --
> Thomas Harning
> @ Identity Alliance
>
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle