aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-07-10 11:55:09 -0400
committerJack Lloyd <[email protected]>2018-07-10 11:55:09 -0400
commitf8a5ab25e5289188be663637aecc6b774e6e8bb5 (patch)
tree8ac17d2a6e55c4c4e5c69945773ed8b6b0057953 /src/lib/pubkey/mce
parent479c631e8a4bb5b1c5be6430af821b1f2ab3a1f3 (diff)
Make use of AlgorithmIdentifier::USE_EMPTY_PARAM
Diffstat (limited to 'src/lib/pubkey/mce')
-rw-r--r--src/lib/pubkey/mce/mceliece_key.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/mce/mceliece_key.cpp b/src/lib/pubkey/mce/mceliece_key.cpp
index 4fe78d2a1..09c4c3f31 100644
--- a/src/lib/pubkey/mce/mceliece_key.cpp
+++ b/src/lib/pubkey/mce/mceliece_key.cpp
@@ -67,7 +67,7 @@ secure_vector<uint8_t> McEliece_PublicKey::random_plaintext_element(RandomNumber
AlgorithmIdentifier McEliece_PublicKey::algorithm_identifier() const
{
- return AlgorithmIdentifier(get_oid(), std::vector<uint8_t>());
+ return AlgorithmIdentifier(get_oid(), AlgorithmIdentifier::USE_EMPTY_PARAM);
}
std::vector<uint8_t> McEliece_PublicKey::public_key_bits() const