64-bit build of framework

6 views
Skip to first unread message

Doug Richardson

unread,
Nov 15, 2009, 6:01:14 PM11/15/09
to OAuth Objective-C
I needed a 64-bit compatible version of the framework but when I
created the 64-bit target the unit tests failed. The only thing that
looked suspicious was the SHA1 implementation used by hmac_sha1, so I
replaced the HMAC function in hmac_sha1.c with the Common Crypto
implementation, CCHmac, and the unit tests all passed.

Is there a reason CCHmac isn't used?

Thanks,
Doug

Karl Adam

unread,
Nov 16, 2009, 3:00:58 PM11/16/09
to oauth-ob...@googlegroups.com
No reason at all, and this is a good fix. Do you have a patch?

_Karl

Douglas Richardson

unread,
Nov 16, 2009, 3:41:40 PM11/16/09
to oauth-ob...@googlegroups.com
No, but I'd be happy to submit one. Should I follow the instructions here?


Doug

Karl Adam

unread,
Nov 16, 2009, 3:42:41 PM11/16/09
to oauth-ob...@googlegroups.com, oauth-ob...@googlegroups.com
Yes, that should be fine

_Karl
Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages