summaryrefslogtreecommitdiff
path: root/pubkey.h
diff options
context:
space:
mode:
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: