diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-03-20 03:18:53 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-03-20 03:18:53 +0000 |
commit | 65abe91c8cb91b4b8e1239210b3774ed55b54006 (patch) | |
tree | be2df16fbb3bf806c618be23454a56e49775a57e | |
parent | bd5150762161b426ddadba59f7296b5f147a075c (diff) | |
download | cryptopp-git-65abe91c8cb91b4b8e1239210b3774ed55b54006.tar.gz |
GCC workaround
-rw-r--r-- | pubkey.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -406,7 +406,8 @@ protected: } unsigned int GetDigestSize() const { - return SCHEME_OPTIONS::HashFunction::DIGESTSIZE; + typedef CPP_TYPENAME SchemeOptions::HashFunction H; + return H::DIGESTSIZE; } }; @@ -1311,7 +1312,8 @@ protected: } unsigned int GetDigestSize() const { - return SchemeOptions::HashFunction::DIGESTSIZE; + typedef CPP_TYPENAME SchemeOptions::HashFunction H; + return H::DIGESTSIZE; } private: |