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>
grpc-202302
David Benjamin 3 years ago committed by Adam Langley
parent c31a8a6f0a
commit f5e601275c
  1. 2
      .clang-format
  2. 7
      include/openssl/asn1.h

@ -19,8 +19,6 @@ StatementMacros:
- "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"

@ -971,13 +971,6 @@ typedef struct ASN1_TLC_st ASN1_TLC;
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 **);

Loading…
Cancel
Save