vinayapatil / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

OAuthConsumer won't compile on iPhone #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
See summary. Two real issues:

#1 OpenSSL isn't present on iPhone SDK. (also Security.framework does contain 
functions HMAC-
SHA1)
#2 Keychain APIs aren't all present on SDK.

I've resolved these two issues and am about to check in the code. Creating this 
issue to track 
change.

Original issue reported on code.google.com by jwight on 9 Apr 2008 at 1:56

GoogleCodeExporter commented 8 years ago
Fixed in r510.

All unit tests pass. From commit message:

"Fix for revision #29

Replaced all references to <Cocoa.framework with Foundation.framework

Replaced OpenSSL with implementations of HMAC-SHA1 qnd SHA1.

Moved OAToken keychain code into standalone category so it can be easily 
disabled on iPhone.

Added two new APIs to OAToken to load/save key & secret into NSUserDefaults."

Original comment by jwight on 9 Apr 2008 at 2:01