aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-14 09:13:28 -0400
committerJack Lloyd <[email protected]>2018-03-14 09:13:28 -0400
commitd72530334942db2f67cf909cb4a726061ef87003 (patch)
tree381b2d756df9171e2f6648221b1642e046b95bc5 /src/lib/x509
parentea829d5904eeeca3be9a326a25a801526dbb5f7c (diff)
Address review comments
Diffstat (limited to 'src/lib/x509')
-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)