aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/asn1_dn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/asn1/asn1_dn.cpp')
-rw-r--r--src/asn1/asn1_dn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1/asn1_dn.cpp b/src/asn1/asn1_dn.cpp
index c5a132d85..3005e3d5e 100644
--- a/src/asn1/asn1_dn.cpp
+++ b/src/asn1/asn1_dn.cpp
@@ -271,7 +271,7 @@ void X509_DN::encode_into(DER_Encoder& der) const
der.start_cons(SEQUENCE);
- if(dn_bits.has_items())
+ if(!dn_bits.empty())
der.raw_bytes(dn_bits);
else
{