diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-29 03:00:39 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-29 03:00:39 +0000 |
commit | 97f5151099967e6c823d640a90d87bca92c44035 (patch) | |
tree | 685caa49488599f87d0caa4e972833b2263d8567 /dviware/dvisvgm/src/HashFunction.hpp | |
parent | 25a647b97ef526aefcc75269dd19c46dbe3ae4c1 (diff) |
CTAN sync 201910290300
Diffstat (limited to 'dviware/dvisvgm/src/HashFunction.hpp')
-rw-r--r-- | dviware/dvisvgm/src/HashFunction.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dviware/dvisvgm/src/HashFunction.hpp b/dviware/dvisvgm/src/HashFunction.hpp index 1b1259393f..bba61918ed 100644 --- a/dviware/dvisvgm/src/HashFunction.hpp +++ b/dviware/dvisvgm/src/HashFunction.hpp @@ -21,6 +21,7 @@ #ifndef HASHFUNCTION_HPP #define HASHFUNCTION_HPP +#include <istream> #include <memory> #include <string> #include <vector> @@ -35,6 +36,7 @@ class HashFunction { virtual void update (const std::string &data) =0; virtual void update (const std::vector<uint8_t> &data) =0; virtual std::vector<uint8_t> digestValue () const =0; + void update (std::istream &is); std::string digestString () const; static std::vector<std::string> supportedAlgorithms (); static bool isSupportedAlgorithm (const std::string &algo); |