summaryrefslogtreecommitdiffstats
path: root/libqpdf/SHA2_native.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-05-21 19:35:09 +0200
committerJay Berkenbilt <ejb@ql.org>2023-05-21 19:35:09 +0200
commit60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2 (patch)
treea707602da466c02ff1a54b3263c3a881cd7204a4 /libqpdf/SHA2_native.cc
parent6b077332d38c093de2618d5e1481b42222106065 (diff)
downloadqpdf-60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2.tar.zst
Rerun clang-format
Diffstat (limited to 'libqpdf/SHA2_native.cc')
-rw-r--r--libqpdf/SHA2_native.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/libqpdf/SHA2_native.cc b/libqpdf/SHA2_native.cc
index ac7d6135..7386751e 100644
--- a/libqpdf/SHA2_native.cc
+++ b/libqpdf/SHA2_native.cc
@@ -73,16 +73,13 @@ SHA2_native::getRawDigest()
std::string result;
switch (bits) {
case 256:
- result = std::string(
- reinterpret_cast<char*>(this->sha256sum), sizeof(this->sha256sum));
+ result = std::string(reinterpret_cast<char*>(this->sha256sum), sizeof(this->sha256sum));
break;
case 384:
- result = std::string(
- reinterpret_cast<char*>(this->sha384sum), sizeof(this->sha384sum));
+ result = std::string(reinterpret_cast<char*>(this->sha384sum), sizeof(this->sha384sum));
break;
case 512:
- result = std::string(
- reinterpret_cast<char*>(this->sha512sum), sizeof(this->sha512sum));
+ result = std::string(reinterpret_cast<char*>(this->sha512sum), sizeof(this->sha512sum));
break;
default:
badBits();