diff options
author | lloyd <[email protected]> | 2007-10-16 16:21:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-10-16 16:21:48 +0000 |
commit | 2f92c34e3938641f7cc3e553953d676d2e95ea2d (patch) | |
tree | ffb5dab90dde2bb20bf6f4a7d9d9f9f7c0dd8011 /include | |
parent | 19a5c9f4d223314dc5eb6c971f332171f3a85623 (diff) |
Add support for IPv4 addresses in the X.509 alternative name extension.
Original patch from Yves Jerschow.
Diffstat (limited to 'include')
-rw-r--r-- | include/asn1_obj.h | 2 | ||||
-rw-r--r-- | include/x509self.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asn1_obj.h b/include/asn1_obj.h index 46ba5c678..99aefbca3 100644 --- a/include/asn1_obj.h +++ b/include/asn1_obj.h @@ -129,7 +129,7 @@ class AlternativeName : public ASN1_Object bool has_items() const; AlternativeName(const std::string& = "", const std::string& = "", - const std::string& = ""); + const std::string& = "", const std::string& = ""); private: std::multimap<std::string, std::string> alt_info; std::multimap<OID, ASN1_String> othernames; diff --git a/include/x509self.h b/include/x509self.h index 30acbdbaa..eb9628a0b 100644 --- a/include/x509self.h +++ b/include/x509self.h @@ -26,7 +26,7 @@ class X509_Cert_Options std::string state; std::string serial_number; - std::string email, uri, dns, xmpp; + std::string email, uri, dns, ip, xmpp; std::string challenge; |