aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/dl_algo/dl_algo.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-19 01:18:40 -0500
committerJack Lloyd <[email protected]>2017-12-19 01:33:40 -0500
commitafabd4a6b33336815614288f01b80bcbf31ba79c (patch)
treebae42c4560c37f8090f6658eefc45bac77eb7b13 /src/lib/pubkey/dl_algo/dl_algo.cpp
parentac754772afbf7be397f8631ebbb3d2921b0a7753 (diff)
Add accessors to ASN1_Attribute and AlgorithmIdentifier
Diffstat (limited to 'src/lib/pubkey/dl_algo/dl_algo.cpp')
-rw-r--r--src/lib/pubkey/dl_algo/dl_algo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/dl_algo/dl_algo.cpp b/src/lib/pubkey/dl_algo/dl_algo.cpp
index 4f0e38e9f..c28ccaee0 100644
--- a/src/lib/pubkey/dl_algo/dl_algo.cpp
+++ b/src/lib/pubkey/dl_algo/dl_algo.cpp
@@ -38,7 +38,7 @@ DL_Scheme_PublicKey::DL_Scheme_PublicKey(const AlgorithmIdentifier& alg_id,
const std::vector<uint8_t>& key_bits,
DL_Group::Format format)
{
- m_group.BER_decode(alg_id.parameters, format);
+ m_group.BER_decode(alg_id.get_parameters(), format);
BER_Decoder(key_bits).decode(m_y);
}
@@ -52,7 +52,7 @@ DL_Scheme_PrivateKey::DL_Scheme_PrivateKey(const AlgorithmIdentifier& alg_id,
const secure_vector<uint8_t>& key_bits,
DL_Group::Format format)
{
- m_group.BER_decode(alg_id.parameters, format);
+ m_group.BER_decode(alg_id.get_parameters(), format);
BER_Decoder(key_bits).decode(m_x);
}