diff --git a/crypto/asn1/internal.h b/crypto/asn1/internal.h index 573149939..4190e61df 100644 --- a/crypto/asn1/internal.h +++ b/crypto/asn1/internal.h @@ -106,6 +106,8 @@ struct asn1_object_st { int flags; /* Should we free this one */ }; +ASN1_OBJECT *ASN1_OBJECT_new(void); + int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d); int asn1_generalizedtime_to_tm(struct tm *tm, const ASN1_GENERALIZEDTIME *d); diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h index d376c1a3b..f49fafb6a 100644 --- a/include/openssl/asn1.h +++ b/include/openssl/asn1.h @@ -1618,7 +1618,6 @@ typedef int i2d_of_void(const void *, unsigned char **); #define B_ASN1_DISPLAYTEXT \ B_ASN1_IA5STRING | B_ASN1_VISIBLESTRING | B_ASN1_BMPSTRING | B_ASN1_UTF8STRING -OPENSSL_EXPORT ASN1_OBJECT *ASN1_OBJECT_new(void); OPENSSL_EXPORT void ASN1_OBJECT_free(ASN1_OBJECT *a); OPENSSL_EXPORT int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); OPENSSL_EXPORT ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a,