Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
restore couch_util:verify call in oauth.
  • Loading branch information
rnewson committed Oct 13, 2011
1 parent d8594f7 commit 07b034b5cfff60dad4d4465831cfeb80fd35a5ff
Showing 2 changed files with 2 additions and 2 deletions.
@@ -8,4 +8,4 @@ signature(BaseString, CS, TS) ->
base64:encode_to_string(crypto:sha_mac(Key, BaseString)).

verify(Signature, BaseString, CS, TS) ->
Signature =:= signature(BaseString, CS, TS).
couch_util:verify(Signature, signature(BaseString, CS, TS)).
@@ -7,4 +7,4 @@ signature(CS, TS) ->
oauth_uri:calate("&", [CS, TS]).

verify(Signature, CS, TS) ->
Signature =:= signature(CS, TS).
couch_util:verify(Signature, signature(CS, TS)).

0 comments on commit 07b034b

Please sign in to comment.