Remove remnants of ASN.1 print function generators.
This was removed in
https://boringssl-review.googlesource.com/c/boringssl/+/8242/, but I
missed the function declaration macros.
Change-Id: I1caca90b8d2fa95791402de32ff2be4a6f4fbe75
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/49785
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/.clang-format b/.clang-format
index 8f9cb6c..0098935 100644
--- a/.clang-format
+++ b/.clang-format
@@ -19,8 +19,6 @@
- "DECLARE_ASN1_FUNCTIONS_const"
- "DECLARE_ASN1_FUNCTIONS_fname"
- "DECLARE_ASN1_FUNCTIONS_name"
- - "DECLARE_ASN1_PRINT_FUNCTION"
- - "DECLARE_ASN1_PRINT_FUNCTION_fname"
- "DECLARE_PEM_read"
- "DECLARE_PEM_read_bio"
- "DECLARE_PEM_read_fp"
diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h
index 0f22de1..f9d980f 100644
--- a/include/openssl/asn1.h
+++ b/include/openssl/asn1.h
@@ -971,13 +971,6 @@
OPENSSL_EXPORT type *name##_new(void); \
OPENSSL_EXPORT void name##_free(type *a);
-#define DECLARE_ASN1_PRINT_FUNCTION(stname) \
- DECLARE_ASN1_PRINT_FUNCTION_fname(stname, stname)
-
-#define DECLARE_ASN1_PRINT_FUNCTION_fname(stname, fname) \
- OPENSSL_EXPORT int fname##_print_ctx(BIO *out, stname *x, int indent, \
- const ASN1_PCTX *pctx);
-
typedef void *d2i_of_void(void **, const unsigned char **, long);
typedef int i2d_of_void(const void *, unsigned char **);