Use sha512 instead of md5#74
Use sha512 instead of md5#74alexkaratarakis merged 4 commits intomicrosoft:masterfrom Telokis:Use-SHA512-instead-of-MD5
Conversation
|
Hi @Ninetainedo, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
…-SHA512-instead-of-MD5
Updated doctest Updated mpir
|
Every portfile currently available on master is updated to use SHA512 instead of MD5. |
Telokis
left a comment
There was a problem hiding this comment.
Some small changes not directly regarding hashing
| if(EXISTS ${DOWNLOADS}/${vcpkg_download_distfile_FILENAME}) | ||
| message(STATUS "Using cached ${DOWNLOADS}/${vcpkg_download_distfile_FILENAME}") | ||
| file(MD5 ${DOWNLOADS}/${vcpkg_download_distfile_FILENAME} FILE_HASH) | ||
| if(NOT FILE_HASH MATCHES ${vcpkg_download_distfile_MD5}) |
There was a problem hiding this comment.
I updated this because it failed when vcpkg_download_distfile_MD5 was empty.
| message(FATAL_ERROR | ||
| "File does not have expected hash: ${DOWNLOADS}/${vcpkg_download_distfile_FILENAME}\n" | ||
| " ${FILE_HASH} <> ${vcpkg_download_distfile_MD5}\n" | ||
| " '${FILE_HASH}' <> '${vcpkg_download_distfile_SHA512}'\n" |
There was a problem hiding this comment.
Those quotes allow the user to see empty strings in an easier way.
|
Looks great! Thanks! |
DjInterop 0.19.1
Should fix #61 for every library that was pushed at the moment of the fork.