From 607c9268560fb2f47b2bd2e96ad1ad76d18acdc7 Mon Sep 17 00:00:00 2001 From: Andy Date: Wed, 1 Mar 2017 01:07:01 +0000 Subject: [PATCH] Code health: ssl/ssl_locl.h unused macros CLA: trivial Reviewed-by: Richard Levitte Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/2806) --- ssl/ssl_locl.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index a7b21b2045..c253c992b0 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -173,19 +173,6 @@ # define DTLS_VERSION_LT(v1, v2) (dtls_ver_ordinal(v1) > dtls_ver_ordinal(v2)) # define DTLS_VERSION_LE(v1, v2) (dtls_ver_ordinal(v1) >= dtls_ver_ordinal(v2)) -/* LOCAL STUFF */ - -# define SSL_DECRYPT 0 -# define SSL_ENCRYPT 1 - -# define TWO_BYTE_BIT 0x80 -# define SEC_ESC_BIT 0x40 -# define TWO_BYTE_MASK 0x7fff -# define THREE_BYTE_MASK 0x3fff - -# define INC32(a) ((a)=((a)+1)&0xffffffffL) -# define DEC32(a) ((a)=((a)-1)&0xffffffffL) -# define MAX_MAC_SIZE 20 /* up from 16 for SSLv3 */ /* * Define the Bitmasks for SSL_CIPHER.algorithms. -- 2.25.1