diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/asn1/x509_dn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/asn1/x509_dn.h b/src/lib/asn1/x509_dn.h index 2b841feb6..92dd7a3d2 100644 --- a/src/lib/asn1/x509_dn.h +++ b/src/lib/asn1/x509_dn.h @@ -37,6 +37,8 @@ class BOTAN_DLL X509_DN final : public ASN1_Object std::vector<byte> get_bits() const; + bool empty() const { return m_dn_info.empty(); } + X509_DN(); explicit X509_DN(const std::multimap<OID, std::string>&); explicit X509_DN(const std::multimap<std::string, std::string>&); |