diff options
author | Andy Polyakov <appro@openssl.org> | 2013-02-01 15:31:50 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-02-06 14:19:10 +0000 |
commit | 2aec073a529f8d8dc0e625b9c444db9de7b46873 (patch) | |
tree | 4ba9453ee337ebaa319fd7dcf9346daa084cb6a7 /ssl/ssl3.h | |
parent | b714a1fe09fc03588b0a0f6f8f14488bd3a2efaf (diff) |
ssl/*: remove SSL3_RECORD->orig_len to restore binary compatibility.
Kludge alert. This is arranged by passing padding length in unused
bits of SSL3_RECORD->type, so that orig_len can be reconstructed.
(cherry picked from commit 8bfd4c659f180a6ce34f21c0e62956b362067fba)
Diffstat (limited to 'ssl/ssl3.h')
-rw-r--r-- | ssl/ssl3.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl/ssl3.h b/ssl/ssl3.h index e41f288871..d2a5208824 100644 --- a/ssl/ssl3.h +++ b/ssl/ssl3.h @@ -372,10 +372,6 @@ typedef struct ssl3_record_st /*r */ unsigned char *comp; /* only used with decompression - malloc()ed */ /*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */ /*r */ unsigned char seq_num[8]; /* sequence number, needed by DTLS1 */ -/*rw*/ unsigned int orig_len; /* How many bytes were available before padding - was removed? This is used to implement the - MAC check in constant time for CBC records. - */ } SSL3_RECORD; typedef struct ssl3_buffer_st |