diff options
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index cd71f7bcfe..826d7c1696 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.53 2014/06/13 04:29:13 miod Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.54 2014/06/13 10:52:24 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -654,6 +654,8 @@ void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, | |||
654 | #define SSL_CTX_set_msg_callback_arg(ctx, arg) SSL_CTX_ctrl((ctx), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg)) | 654 | #define SSL_CTX_set_msg_callback_arg(ctx, arg) SSL_CTX_ctrl((ctx), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg)) |
655 | #define SSL_set_msg_callback_arg(ssl, arg) SSL_ctrl((ssl), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg)) | 655 | #define SSL_set_msg_callback_arg(ssl, arg) SSL_ctrl((ssl), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg)) |
656 | 656 | ||
657 | struct ssl_aead_ctx_st; | ||
658 | typedef struct ssl_aead_ctx_st SSL_AEAD_CTX; | ||
657 | 659 | ||
658 | #define SSL_MAX_CERT_LIST_DEFAULT 1024*100 /* 100k max cert list :-) */ | 660 | #define SSL_MAX_CERT_LIST_DEFAULT 1024*100 /* 100k max cert list :-) */ |
659 | 661 | ||
@@ -1093,6 +1095,10 @@ struct ssl_st { | |||
1093 | * the ones to be 'copied' into these ones */ | 1095 | * the ones to be 'copied' into these ones */ |
1094 | int mac_flags; | 1096 | int mac_flags; |
1095 | 1097 | ||
1098 | SSL_AEAD_CTX *aead_read_ctx; /* AEAD context. If non-NULL, then | ||
1099 | enc_read_ctx and read_hash are | ||
1100 | ignored. */ | ||
1101 | |||
1096 | EVP_CIPHER_CTX *enc_read_ctx; /* cryptographic state */ | 1102 | EVP_CIPHER_CTX *enc_read_ctx; /* cryptographic state */ |
1097 | EVP_MD_CTX *read_hash; /* used for mac generation */ | 1103 | EVP_MD_CTX *read_hash; /* used for mac generation */ |
1098 | #ifndef OPENSSL_NO_COMP | 1104 | #ifndef OPENSSL_NO_COMP |
@@ -1101,6 +1107,10 @@ struct ssl_st { | |||
1101 | char *expand; | 1107 | char *expand; |
1102 | #endif | 1108 | #endif |
1103 | 1109 | ||
1110 | SSL_AEAD_CTX *aead_write_ctx; /* AEAD context. If non-NULL, then | ||
1111 | enc_write_ctx and write_hash are | ||
1112 | ignored. */ | ||
1113 | |||
1104 | EVP_CIPHER_CTX *enc_write_ctx; /* cryptographic state */ | 1114 | EVP_CIPHER_CTX *enc_write_ctx; /* cryptographic state */ |
1105 | EVP_MD_CTX *write_hash; /* used for mac generation */ | 1115 | EVP_MD_CTX *write_hash; /* used for mac generation */ |
1106 | #ifndef OPENSSL_NO_COMP | 1116 | #ifndef OPENSSL_NO_COMP |