diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-08 16:02:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-08 19:23:36 +0100 |
| commit | ccad08b4c95e55c6693a187cd5e7f0a26a67e84c (patch) | |
| tree | 76192a85737b5b62e109ad2f99bf21093c72f496 /src/certificate_chain.h | |
| parent | af52b7b6cd86d555f7b5b611eab1ade3cf0b6c6e (diff) | |
Use OpenSSL C API for public_key_digest instead of calling the openssl binary.
Diffstat (limited to 'src/certificate_chain.h')
| -rw-r--r-- | src/certificate_chain.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/certificate_chain.h b/src/certificate_chain.h index aabe9f00..61bf5d47 100644 --- a/src/certificate_chain.h +++ b/src/certificate_chain.h @@ -190,7 +190,9 @@ private: }; -std::string public_key_digest(boost::filesystem::path private_key, boost::filesystem::path openssl); +std::string public_key_digest(RSA* public_key); +std::string public_key_digest(boost::filesystem::path private_key); +std::string escape_digest(std::string digest); } |
