rokek opened a new pull request #1445: Make MD5 hash implementation configurable - issue #1171 URL: https://github.com/apache/couchdb/pull/1445 <!-- Thank you for your contribution! Please file this form by replacing the Markdown comments with your text. If a section needs no action - remove it. Also remember, that CouchDB uses the Review-Then-Commit (RTC) model of code collaboration. Positive feedback is represented +1 from committers and negative is a -1. The -1 also means veto, and needs to be addressed to proceed. Once there are no objections, the PR can be merged by a CouchDB committer. See: http://couchdb.apache.org/bylaws.html#decisions for more info. --> ## Overview Add a module that selects the library to use for MD5 hash operations depending on a configure flag. If the flag is used, the module's functions use erlang:md5. If not, the functions use crypto:hash(md5, ...). Add to configure and rebar scripts to make this work. Replace crypto:hash(md5, ...) calls with calls to functions in the new module. ## Testing recommendations `make check` ## Related Issues or Pull Requests https://github.com/apache/couchdb/issues/1171 ## Checklist - [x] Code is written and works correctly; - [x] Changes are covered by tests; - [ ] Documentation reflects the changes;
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
