diff options
author | Jack Lloyd <[email protected]> | 2016-11-18 15:10:10 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-18 15:10:10 -0500 |
commit | eb59bf8c33ed4dbb3990351954bfb7112e6cf273 (patch) | |
tree | 36565e93af150f2f5974ed83338a65032d246605 /src | |
parent | dc94557f0f72766dbfba5e129da25dd0111fa564 (diff) |
Add X509_DN::empty
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>&); |