Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Fix Nonce parameter name
Browse files Browse the repository at this point in the history
Xcode Refactor missed reference due to #if/#else
  • Loading branch information
bdbergeron committed May 15, 2014
1 parent ecc51a0 commit 4bda406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BDBOAuth1Manager/BDBOAuth1RequestSerializer.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4bda406

Please sign in to comment.