Discard some unused typedefs
authorFdaSilvaYY <fdasilvayy@gmail.com>
Mon, 11 Jul 2016 17:41:32 +0000 (19:41 +0200)
committerRich Salz <rsalz@openssl.org>
Mon, 25 Jul 2016 12:35:39 +0000 (08:35 -0400)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1301)

include/openssl/asn1t.h

index ad17babacbe82b0bfad61ddbde3fd126b71cab06..8eedfb3f430229b0dd35ff9da7794d7eeae099b0 100644 (file)
@@ -652,13 +652,6 @@ struct ASN1_TLC_st {
 };
 
 /* Typedefs for ASN1 function pointers */
-
-typedef ASN1_VALUE *ASN1_new_func(void);
-typedef void ASN1_free_func(ASN1_VALUE *a);
-typedef ASN1_VALUE *ASN1_d2i_func(ASN1_VALUE **a, const unsigned char **in,
-                                  long length);
-typedef int ASN1_i2d_func(ASN1_VALUE *a, unsigned char **in);
-
 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
                         const ASN1_ITEM *it, int tag, int aclass, char opt,
                         ASN1_TLC *ctx);