Prune version constants.

SSL3_VERSION_MAJOR is the only MAJOR/MINOR number used internally or
externally.

Change-Id: I3f17175e73fd89887665accf1bfa680581f42dfe
Reviewed-on: https://boringssl-review.googlesource.com/4790
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2015-05-16 15:12:56 -04:00 committed by Adam Langley
parent 7ef9fff53d
commit 7270cfc1ca

View File

@ -181,21 +181,12 @@ OPENSSL_EXPORT int SSL_library_init(void);
/* Protocol version constants */
#define SSL3_VERSION 0x0300
#define SSL3_VERSION_MAJOR 0x03
#define SSL3_VERSION_MINOR 0x00
#define TLS1_2_VERSION 0x0303
#define TLS1_2_VERSION_MAJOR 0x03
#define TLS1_2_VERSION_MINOR 0x03
#define TLS1_1_VERSION 0x0302
#define TLS1_1_VERSION_MAJOR 0x03
#define TLS1_1_VERSION_MINOR 0x02
#define SSL3_VERSION 0x0300
#define TLS1_VERSION 0x0301
#define TLS1_VERSION_MAJOR 0x03
#define TLS1_VERSION_MINOR 0x01
#define TLS1_1_VERSION 0x0302
#define TLS1_2_VERSION 0x0303
#define DTLS1_VERSION 0xFEFF
#define DTLS1_2_VERSION 0xFEFD