diff options
Diffstat (limited to 'src/asn1/asn1_dn.cpp')
-rw-r--r-- | src/asn1/asn1_dn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1/asn1_dn.cpp b/src/asn1/asn1_dn.cpp index dd5bc94dc..d86edcd84 100644 --- a/src/asn1/asn1_dn.cpp +++ b/src/asn1/asn1_dn.cpp @@ -255,7 +255,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 { |