diff options
Diffstat (limited to 'bpkg/checksum.hxx')
-rw-r--r-- | bpkg/checksum.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bpkg/checksum.hxx b/bpkg/checksum.hxx index fdf6fe5..54e5b3c 100644 --- a/bpkg/checksum.hxx +++ b/bpkg/checksum.hxx @@ -4,8 +4,6 @@ #ifndef BPKG_CHECKSUM_HXX #define BPKG_CHECKSUM_HXX -#include <libbutl/sha256.mxx> - #include <bpkg/types.hxx> #include <bpkg/utility.hxx> @@ -16,7 +14,7 @@ namespace bpkg // Calculate SHA256 sum of the specified memory buffer in binary mode. // inline string - sha256 (const char* buf, size_t n) {return butl::sha256 (buf, n).string ();} + sha256sum (const char* buf, size_t n) {return sha256 (buf, n).string ();} // The same but for a file. Issue diagnostics and throw failed if anything // goes wrong. @@ -26,7 +24,7 @@ namespace bpkg // optimized for the platform. // string - sha256 (const common_options&, const path& file); + sha256sum (const common_options&, const path& file); } #endif // BPKG_CHECKSUM_HXX |