Forward-declare SSL_CLIENT_HELLO.

Change-Id: I6b5be7ccdabec943fc836cbb67d73d3551cb149d
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/49845
Reviewed-by: Adam Langley <agl@google.com>
grpc-202302
David Benjamin 3 years ago committed by Adam Langley
parent 0524538522
commit 45c8be91f3
  1. 1
      include/openssl/base.h
  2. 4
      include/openssl/ssl.h

@ -434,6 +434,7 @@ typedef struct spake2_ctx_st SPAKE2_CTX;
typedef struct srtp_protection_profile_st SRTP_PROTECTION_PROFILE;
typedef struct ssl_cipher_st SSL_CIPHER;
typedef struct ssl_ctx_st SSL_CTX;
typedef struct ssl_early_callback_ctx SSL_CLIENT_HELLO;
typedef struct ssl_ech_keys_st SSL_ECH_KEYS;
typedef struct ssl_method_st SSL_METHOD;
typedef struct ssl_private_key_method_st SSL_PRIVATE_KEY_METHOD;

@ -4158,7 +4158,7 @@ OPENSSL_EXPORT int SSL_set_max_send_fragment(SSL *ssl,
// callbacks that are called very early on during the server handshake. At this
// point, much of the SSL* hasn't been filled out and only the ClientHello can
// be depended on.
typedef struct ssl_early_callback_ctx {
struct ssl_early_callback_ctx {
SSL *ssl;
const uint8_t *client_hello;
size_t client_hello_len;
@ -4173,7 +4173,7 @@ typedef struct ssl_early_callback_ctx {
size_t compression_methods_len;
const uint8_t *extensions;
size_t extensions_len;
} SSL_CLIENT_HELLO;
} /* SSL_CLIENT_HELLO */;
// ssl_select_cert_result_t enumerates the possible results from selecting a
// certificate with |select_certificate_cb|.

Loading…
Cancel
Save