summaryrefslogtreecommitdiff
path: root/eccrypto.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-12-24 17:17:32 -0500
committerGitHub <noreply@github.com>2018-12-24 17:17:32 -0500
commitd62674b56145b6988cd0a9d8a658dff7cb6d8ec8 (patch)
treea30dc4f20697961ba0f347da15a112e38d88cfab /eccrypto.cpp
parent2ba3c1fc73ff490fa335ae649f3ab42e762369f8 (diff)
downloadcryptopp-git-d62674b56145b6988cd0a9d8a658dff7cb6d8ec8.tar.gz
Add ed25519 (GH #764, PR #767)
Add ed25519
Diffstat (limited to 'eccrypto.cpp')
-rw-r--r--eccrypto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/eccrypto.cpp b/eccrypto.cpp
index e13b643f..eed99a17 100644
--- a/eccrypto.cpp
+++ b/eccrypto.cpp
@@ -490,7 +490,7 @@ bool DL_GroupParameters_EC<EC>::GetVoidValue(const char *name, const std::type_i
{
if (strcmp(name, Name::GroupOID()) == 0)
{
- if (m_oid.GetValues().empty())
+ if (m_oid.Empty())
return false;
this->ThrowIfTypeMismatch(name, typeid(OID), valueType);
@@ -568,7 +568,7 @@ void DL_GroupParameters_EC<EC>::BERDecode(BufferedTransformation &bt)
template <class EC>
void DL_GroupParameters_EC<EC>::DEREncode(BufferedTransformation &bt) const
{
- if (m_encodeAsOID && !m_oid.GetValues().empty())
+ if (m_encodeAsOID && !m_oid.Empty())
m_oid.DEREncode(bt);
else
{