summaryrefslogtreecommitdiff
path: root/pubkey.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-03-20 03:18:53 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-03-20 03:18:53 +0000
commit2f227820d9c9c10b9625415bf665f211bca23c51 (patch)
treebe2df16fbb3bf806c618be23454a56e49775a57e /pubkey.h
parent9f148107dd8c49b13839c8e3d0c26444eebeeef9 (diff)
downloadcryptopp-2f227820d9c9c10b9625415bf665f211bca23c51.tar.gz
GCC workaround
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@41 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'pubkey.h')
-rw-r--r--pubkey.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pubkey.h b/pubkey.h
index a5de59c..a31d536 100644
--- a/pubkey.h
+++ b/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: