summaryrefslogtreecommitdiff
path: root/src/couch_index
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2017-07-16 13:21:43 +0100
committerRobert Newson <rnewson@apache.org>2017-07-16 15:17:49 +0100
commit9e56cf334c33d4cdb96acbfca9cc9461e2b658aa (patch)
treee6134e43a28a323d7992f5727c673c0d2dcbba00 /src/couch_index
parent789f75dcfc00cdf1d807edac59f90f705c94a4ae (diff)
downloadcouchdb-9e56cf334c33d4cdb96acbfca9cc9461e2b658aa.tar.gz
Remove couch_crypto
The crypto:{hash,hash_init,hash_update,hash_final} functions exist in all the versions of erlang supported by CouchDB.
Diffstat (limited to 'src/couch_index')
-rw-r--r--src/couch_index/test/couch_index_ddoc_updated_tests.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch_index/test/couch_index_ddoc_updated_tests.erl b/src/couch_index/test/couch_index_ddoc_updated_tests.erl
index 007f5692b..f42c9a29a 100644
--- a/src/couch_index/test/couch_index_ddoc_updated_tests.erl
+++ b/src/couch_index/test/couch_index_ddoc_updated_tests.erl
@@ -118,7 +118,7 @@ fake_index() ->
(idx_name, {_DbName, DDoc}) ->
DDoc#doc.id;
(signature, {_DbName, DDoc}) ->
- couch_crypto:hash(md5, term_to_binary(DDoc));
+ crypto:hash(md5, term_to_binary(DDoc));
(update_seq, Seq) ->
Seq
end).