diff options
author | Matt Caswell <matt@openssl.org> | 2023-05-22 15:23:21 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-05-24 12:18:33 +0100 |
commit | 674b61ebd982d6a6564ac1f90d8cde22371564bc (patch) | |
tree | cd28400502f740530186bbd59bf5700f9bbb26b5 /ssl | |
parent | c2786c8ea732592f708e588f0f5849716914a313 (diff) |
Create internal/ssl.h
We create the internal/ssl.h header file and move the typedef for
ossl_msg_cb. This is needed by both the QUIC code (which generally doesn't
include ssl_local.h) and the rest of libssl.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20914)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_local.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index be834d8f68..69a578dc5c 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -36,6 +36,7 @@ # include "internal/bio.h" # include "internal/ktls.h" # include "internal/time.h" +# include "internal/ssl.h" # include "record/record.h" # ifdef OPENSSL_BUILD_SHLIBSSL @@ -799,9 +800,6 @@ typedef struct { # define TLS_GROUP_FFDHE_FOR_TLS1_3 (TLS_GROUP_FFDHE|TLS_GROUP_ONLY_FOR_TLS1_3) -typedef void (*ossl_msg_cb)(int write_p, int version, int content_type, - const void *buf, size_t len, SSL *ssl, void *arg); - struct ssl_ctx_st { OSSL_LIB_CTX *libctx; |