couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject git commit: fix pbkdf2 spec
Date Mon, 31 Dec 2012 00:01:22 GMT
Updated Branches:
  refs/heads/master 666b95bec -> 0d6fba2e6


fix pbkdf2 spec


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0d6fba2e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0d6fba2e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0d6fba2e

Branch: refs/heads/master
Commit: 0d6fba2e6bcc3c7ec9fc436efc6b8a129523e3ae
Parents: 666b95b
Author: Robert Newson <rnewson@apache.org>
Authored: Sun Dec 30 23:59:43 2012 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Mon Dec 31 00:00:30 2012 +0000

----------------------------------------------------------------------
 src/couchdb/couch_passwords.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/0d6fba2e/src/couchdb/couch_passwords.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_passwords.erl b/src/couchdb/couch_passwords.erl
index 57e5193..d9e6836 100644
--- a/src/couchdb/couch_passwords.erl
+++ b/src/couchdb/couch_passwords.erl
@@ -49,7 +49,7 @@ get_unhashed_admins() ->
     couch_config:get("admins")).
 
 %% Current scheme, much stronger.
--spec pbkdf2(binary(), binary(), integer()) -> string().
+-spec pbkdf2(binary(), binary(), integer()) -> binary().
 pbkdf2(Password, Salt, Iterations) ->
     {ok, Result} = pbkdf2(Password, Salt, Iterations, ?SHA1_OUTPUT_LENGTH),
     Result.


Mime
View raw message