diff options
author | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2023-06-17 17:29:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-17 17:29:21 +0200 |
commit | 0b538ec8779a81d499865a82ffcb4f02f4471743 (patch) | |
tree | 897778e1d6d1d9070a8327db60f5bc5dbfae8a42 /libqpdf/QPDFCrypto_openssl.cc | |
parent | 21612165c6c1b49b88786c0232215f2e894254ea (diff) | |
parent | d784e8033c0aafce9becf720dfedf1872c74983e (diff) | |
download | qpdf-0b538ec8779a81d499865a82ffcb4f02f4471743.tar.zst |
Merge pull request #982 from m-holger/cltidy
Apply various Clang-Tidy rules
Diffstat (limited to 'libqpdf/QPDFCrypto_openssl.cc')
-rw-r--r-- | libqpdf/QPDFCrypto_openssl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFCrypto_openssl.cc b/libqpdf/QPDFCrypto_openssl.cc index f82230be..92125b45 100644 --- a/libqpdf/QPDFCrypto_openssl.cc +++ b/libqpdf/QPDFCrypto_openssl.cc @@ -194,7 +194,7 @@ QPDFCrypto_openssl::MD5_digest(MD5_Digest d) std::string QPDFCrypto_openssl::SHA2_digest() { - return std::string(reinterpret_cast<char*>(md_out), sha2_bits / 8); + return {reinterpret_cast<char*>(md_out), sha2_bits / 8}; } void |