Auto merge of #4542 - equal-l2:sha256-crypto-hash, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 29 Sep 2017 06:48:13 +0000 (06:48 +0000)
committerbors <bors@rust-lang.org>
Fri, 29 Sep 2017 06:48:13 +0000 (06:48 +0000)
Use crypto-hash to calculate SHA256

`crypto-hash` is an abstraction library for native hash libraries.
It uses CryptoAPI on Windows, CommonCrypto on macOS, and OpenSSL on *nix.

This PR will also remove `openssl` and `advapi32-sys` from dependencies since they are only used for calculating SHA256, which is superseded by `crypto-hash`.
(`crypto-hash` itself uses `openssl` and `advapi32-sys` though)


Trivial merge