diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-05-21 19:35:09 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-05-21 19:35:09 +0200 |
commit | 60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2 (patch) | |
tree | a707602da466c02ff1a54b3263c3a881cd7204a4 /libqpdf/MD5.cc | |
parent | 6b077332d38c093de2618d5e1481b42222106065 (diff) | |
download | qpdf-60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2.tar.zst |
Rerun clang-format
Diffstat (limited to 'libqpdf/MD5.cc')
-rw-r--r-- | libqpdf/MD5.cc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libqpdf/MD5.cc b/libqpdf/MD5.cc index 9668c982..c0782124 100644 --- a/libqpdf/MD5.cc +++ b/libqpdf/MD5.cc @@ -81,8 +81,7 @@ MD5::encodeFile(char const* filename, qpdf_offset_t up_to_offset) // Assume, perhaps incorrectly, that errno was set by the // underlying call to read.... (void)fclose(file); - QUtil::throw_system_error( - std::string("MD5: read error on ") + filename); + QUtil::throw_system_error(std::string("MD5: read error on ") + filename); } (void)fclose(file); @@ -115,8 +114,7 @@ MD5::unparse() this->crypto->MD5_finalize(); Digest digest_val; digest(digest_val); - return QUtil::hex_encode( - std::string(reinterpret_cast<char*>(digest_val), 16)); + return QUtil::hex_encode(std::string(reinterpret_cast<char*>(digest_val), 16)); } std::string @@ -143,10 +141,7 @@ MD5::checkDataChecksum(char const* const checksum, char const* buf, size_t len) } bool -MD5::checkFileChecksum( - char const* const checksum, - char const* filename, - qpdf_offset_t up_to_offset) +MD5::checkFileChecksum(char const* const checksum, char const* filename, qpdf_offset_t up_to_offset) { bool result = false; try { |