summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl3.h
diff options
context:
space:
mode:
authortedu <>2014-07-10 08:51:15 +0000
committertedu <>2014-07-10 08:51:15 +0000
commit7fa0fcaa4570540c46d2430a269ae2e95aaa258e (patch)
tree10d3c4ab8299021b37a17232dc3493cb7fc5dd87 /src/lib/libssl/ssl3.h
parent4edb6fce921fd3bc18b713f5802551bacc02cf8a (diff)
downloadopenbsd-7fa0fcaa4570540c46d2430a269ae2e95aaa258e.tar.gz
openbsd-7fa0fcaa4570540c46d2430a269ae2e95aaa258e.tar.bz2
openbsd-7fa0fcaa4570540c46d2430a269ae2e95aaa258e.zip
decompress libssl. ok beck jsing
Diffstat (limited to 'src/lib/libssl/ssl3.h')
-rw-r--r--src/lib/libssl/ssl3.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h
index 235c359af2..f956c50987 100644
--- a/src/lib/libssl/ssl3.h
+++ b/src/lib/libssl/ssl3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl3.h,v 1.23 2014/06/13 11:52:03 jsing Exp $ */ 1/* $OpenBSD: ssl3.h,v 1.24 2014/07/10 08:51:15 tedu 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 *
@@ -117,9 +117,6 @@
117#ifndef HEADER_SSL3_H 117#ifndef HEADER_SSL3_H
118#define HEADER_SSL3_H 118#define HEADER_SSL3_H
119 119
120#ifndef OPENSSL_NO_COMP
121#include <openssl/comp.h>
122#endif
123#include <openssl/buffer.h> 120#include <openssl/buffer.h>
124#include <openssl/evp.h> 121#include <openssl/evp.h>
125#include <openssl/ssl.h> 122#include <openssl/ssl.h>
@@ -285,12 +282,7 @@ extern "C" {
285 282
286/* If compression isn't used don't include the compression overhead */ 283/* If compression isn't used don't include the compression overhead */
287 284
288#ifdef OPENSSL_NO_COMP
289#define SSL3_RT_MAX_COMPRESSED_LENGTH SSL3_RT_MAX_PLAIN_LENGTH 285#define SSL3_RT_MAX_COMPRESSED_LENGTH SSL3_RT_MAX_PLAIN_LENGTH
290#else
291#define SSL3_RT_MAX_COMPRESSED_LENGTH \
292 (SSL3_RT_MAX_PLAIN_LENGTH+SSL3_RT_MAX_COMPRESSED_OVERHEAD)
293#endif
294#define SSL3_RT_MAX_ENCRYPTED_LENGTH \ 286#define SSL3_RT_MAX_ENCRYPTED_LENGTH \
295 (SSL3_RT_MAX_ENCRYPTED_OVERHEAD+SSL3_RT_MAX_COMPRESSED_LENGTH) 287 (SSL3_RT_MAX_ENCRYPTED_OVERHEAD+SSL3_RT_MAX_COMPRESSED_LENGTH)
296#define SSL3_RT_MAX_PACKET_SIZE \ 288#define SSL3_RT_MAX_PACKET_SIZE \
@@ -336,7 +328,6 @@ typedef struct ssl3_record_st {
336/*r */ unsigned int off; /* read/write offset into 'buf' */ 328/*r */ unsigned int off; /* read/write offset into 'buf' */
337/*rw*/ unsigned char *data; /* pointer to the record data */ 329/*rw*/ unsigned char *data; /* pointer to the record data */
338/*rw*/ unsigned char *input; /* where the decode bytes are */ 330/*rw*/ unsigned char *input; /* where the decode bytes are */
339/*r */ unsigned char *comp; /* only used with decompression - malloc()ed */
340/*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */ 331/*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */
341/*r */ unsigned char seq_num[8]; /* sequence number, needed by DTLS1 */ 332/*r */ unsigned char seq_num[8]; /* sequence number, needed by DTLS1 */
342} SSL3_RECORD; 333} SSL3_RECORD;
@@ -492,11 +483,6 @@ typedef struct ssl3_state_st {
492 const EVP_MD *new_hash; 483 const EVP_MD *new_hash;
493 int new_mac_pkey_type; 484 int new_mac_pkey_type;
494 int new_mac_secret_size; 485 int new_mac_secret_size;
495#ifndef OPENSSL_NO_COMP
496 const SSL_COMP *new_compression;
497#else
498 char *new_compression;
499#endif
500 int cert_request; 486 int cert_request;
501 } tmp; 487 } tmp;
502 488