aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/ssl.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/_cffi_src/openssl/ssl.py')
-rw-r--r--src/_cffi_src/openssl/ssl.py21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py
index 0b81f15d..6e59d859 100644
--- a/src/_cffi_src/openssl/ssl.py
+++ b/src/_cffi_src/openssl/ssl.py
@@ -133,24 +133,9 @@ static const long TLS_ST_OK;
typedef ... SSL_METHOD;
typedef ... SSL_CTX;
-typedef struct {
- int master_key_length;
- unsigned char master_key[...];
- unsigned char sid_ctx[...];
- ...;
-} SSL_SESSION;
-
-typedef struct {
- unsigned char server_random[...];
- unsigned char client_random[...];
- ...;
-} SSL3_STATE;
-
-typedef struct {
- SSL3_STATE *s3;
- SSL_SESSION *session;
- ...;
-} SSL;
+typedef ... SSL_SESSION;
+
+typedef ... SSL;
static const long TLSEXT_NAMETYPE_host_name;