Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Nonce parameter name

Xcode Refactor missed reference due to #if/#else
  • Loading branch information...
commit 4bda4069ee91feaffa1e9f8e68468ae1d807c657 1 parent ecc51a0
@bdbergeron authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  BDBOAuth1Manager/BDBOAuth1RequestSerializer.m
View
2  BDBOAuth1Manager/BDBOAuth1RequestSerializer.m
@@ -283,7 +283,7 @@ - (NSDictionary *)OAuthParameters
#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090)
parameters[BDBOAuth1SignatureNonceParameter] = [[NSData dataWithBytes:&uuidBytes length:sizeof(uuidBytes)] base64EncodedStringWithOptions:0];
#else
- parameters[BDBOAuth1OAuthNonceParameter] = [[NSData dataWithBytes:&uuidBytes length:sizeof(uuidBytes)] base64Encoding];
+ parameters[BDBOAuth1SignatureNonceParameter] = [[NSData dataWithBytes:&uuidBytes length:sizeof(uuidBytes)] base64Encoding];
#endif
return parameters;
Please sign in to comment.
Something went wrong with that request. Please try again.