summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_ia5.c
diff options
context:
space:
mode:
authorBjoern Zeeb <bzeeb@zabbadoz.net>2014-08-14 22:11:08 -0400
committerRich Salz <rsalz@openssl.org>2014-09-08 11:27:07 -0400
commit6452a139fe2ec75db9b700d7f8f1b172960f4141 (patch)
tree0c9279cf206c85651eaf15518105ca68566013c2 /crypto/x509v3/v3_ia5.c
parente9edfc419674f20b482a9beff9c246519f9c503e (diff)
RT671: export(i2s|s2i|i2v|v2i)_ASN1_(IA5|BIT)STRING
The EXT_BITSTRING and EXT_IA5STRING are defined in x509v3.h, but the low-level functions are not public. They are useful, no need to make them static. Note that BITSTRING already was exposed since this RT was created, so now we just export IA5STRING functions. Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/x509v3/v3_ia5.c')
-rw-r--r--crypto/x509v3/v3_ia5.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/x509v3/v3_ia5.c b/crypto/x509v3/v3_ia5.c
index 4ff12b52b5..3bfd345bc6 100644
--- a/crypto/x509v3/v3_ia5.c
+++ b/crypto/x509v3/v3_ia5.c
@@ -63,8 +63,6 @@
#include <openssl/conf.h>
#include <openssl/x509v3.h>
-static char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
-static ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str);
const X509V3_EXT_METHOD v3_ns_ia5_list[] = {
EXT_IA5STRING(NID_netscape_base_url),
EXT_IA5STRING(NID_netscape_revocation_url),
@@ -77,7 +75,7 @@ EXT_END
};
-static char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
+char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
ASN1_IA5STRING *ia5)
{
char *tmp;
@@ -91,7 +89,7 @@ static char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
return tmp;
}
-static ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
+ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
X509V3_CTX *ctx, char *str)
{
ASN1_IA5STRING *ia5;