aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509_dn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/x509/x509_dn.cpp')
-rw-r--r--src/lib/x509/x509_dn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/x509/x509_dn.cpp b/src/lib/x509/x509_dn.cpp
index faeb4543c..64c1c9a08 100644
--- a/src/lib/x509/x509_dn.cpp
+++ b/src/lib/x509/x509_dn.cpp
@@ -221,13 +221,13 @@ void X509_DN::encode_into(DER_Encoder& der) const
{
/*
If we decoded this from somewhere, encode it back exactly as
- we recieved it
+ we received it
*/
der.raw_bytes(m_dn_bits);
}
else
{
- for(auto dn : m_dn_info)
+ for(const auto& dn : m_dn_info)
{
der.start_cons(SET)
.start_cons(SEQUENCE)