From 5e5c33723b90d60c6137789549b5bcf581e0674f Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 20 Mar 2003 03:18:53 +0000 Subject: [PATCH] GCC workaround --- trunk/c5/pubkey.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trunk/c5/pubkey.h b/trunk/c5/pubkey.h index a5de59c4..a31d5366 100644 --- a/trunk/c5/pubkey.h +++ b/trunk/c5/pubkey.h @@ -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: