aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-10-16 16:21:48 +0000
committerlloyd <[email protected]>2007-10-16 16:21:48 +0000
commit2f92c34e3938641f7cc3e553953d676d2e95ea2d (patch)
treeffb5dab90dde2bb20bf6f4a7d9d9f9f7c0dd8011 /include
parent19a5c9f4d223314dc5eb6c971f332171f3a85623 (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.h2
-rw-r--r--include/x509self.h2
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;