and a few other structs in libssl opaque.
from/ok jsing
-/* $OpenBSD: dtls1.h,v 1.25 2021/03/31 16:59:32 tb Exp $ */
+/* $OpenBSD: dtls1.h,v 1.26 2021/05/10 17:10:57 tb Exp $ */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
#define DTLS1_AL_HEADER_LENGTH 2
-#ifndef OPENSSL_NO_SSL_INTERN
-
+#ifdef LIBRESSL_INTERNAL
typedef struct dtls1_bitmap_st {
unsigned long map; /* track 32 packets on 32-bit systems
-/* $OpenBSD: ssl.h,v 1.189 2021/05/10 17:07:23 tb Exp $ */
+/* $OpenBSD: ssl.h,v 1.190 2021/05/10 17:10:57 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len,
STACK_OF(SSL_CIPHER) *peer_ciphers, SSL_CIPHER **cipher, void *arg);
-#ifndef OPENSSL_NO_SSL_INTERN
+#ifdef LIBRESSL_INTERNAL
/* used to hold info on the particular ciphers used */
struct ssl_cipher_st {
typedef struct ssl_comp_st SSL_COMP;
-#ifndef OPENSSL_NO_SSL_INTERN
+#ifdef LIBRESSL_INTERNAL
struct ssl_comp_st {
int id;
-/* $OpenBSD: ssl3.h,v 1.52 2021/05/02 18:10:32 tb Exp $ */
+/* $OpenBSD: ssl3.h,v 1.53 2021/05/10 17:10:57 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
#define TLS1_FLAGS_FREEZE_TRANSCRIPT 0x0020
#define SSL3_FLAGS_CCS_OK 0x0080
-#ifndef OPENSSL_NO_SSL_INTERN
+#ifdef LIBRESSL_INTERNAL
struct ssl3_state_internal_st;