diff options
author | Rob Austein <sra@hactrn.net> | 2006-08-17 04:26:25 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2006-08-17 04:26:25 +0000 |
commit | c582a857020b04d6509160fd9738dc7b7075267e (patch) | |
tree | 67717b68e432c0443880df26525d65abaf208d63 /openssl/trunk/crypto/x509v3/v3_utl.c | |
parent | afb13a243b68a827c4310c6e8aacf40dbf7c1b76 (diff) |
Get rid of dependencies on inet_pton() and inet_ntop().
svn path=/openssl/trunk/crypto/x509v3/v3_addr.c; revision=166
Diffstat (limited to 'openssl/trunk/crypto/x509v3/v3_utl.c')
-rw-r--r-- | openssl/trunk/crypto/x509v3/v3_utl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openssl/trunk/crypto/x509v3/v3_utl.c b/openssl/trunk/crypto/x509v3/v3_utl.c index 7911c4bd..7c1d26fc 100644 --- a/openssl/trunk/crypto/x509v3/v3_utl.c +++ b/openssl/trunk/crypto/x509v3/v3_utl.c @@ -71,7 +71,6 @@ static STACK *get_email(X509_NAME *name, GENERAL_NAMES *gens); static void str_free(void *str); static int append_ia5(STACK **sk, ASN1_IA5STRING *email); -static int a2i_ipadd(unsigned char *ipout, const char *ipasc); static int ipv4_from_asc(unsigned char *v4, const char *in); static int ipv6_from_asc(unsigned char *v6, const char *in); static int ipv6_cb(const char *elem, int len, void *usr); @@ -615,7 +614,7 @@ ASN1_OCTET_STRING *a2i_IPADDRESS_NC(const char *ipasc) } -static int a2i_ipadd(unsigned char *ipout, const char *ipasc) +int a2i_ipadd(unsigned char *ipout, const char *ipasc) { /* If string contains a ':' assume IPv6 */ |