Skip to content

Commit

Permalink
Minor typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dreamer committed Jan 11, 2025
1 parent c4a3cc9 commit 3101bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pe_bliss2/src/security/x500/flat_distinguished_name.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ std::optional<typename flat_distinguished_name<RangeType>::directory_string_type
{
try
{
const auto str = asn1::der::decode<asn1::crypto::directory_string,
auto str = asn1::der::decode<asn1::crypto::directory_string,
asn1::spec::crypto::directory_string<"RDN">>(it->second.begin(), it->second.end());
std::visit([&result](auto& moved) { result = std::move(moved); }, std::move(str));
std::visit([&result](auto&& moved) { result = std::move(moved); }, std::move(str));
}
catch (const asn1::parse_error&)
{
Expand Down

0 comments on commit 3101bd0

Please sign in to comment.