[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Wed Mar 1 10:55:39 UTC 2017


The branch master has been updated
       via  607c9268560fb2f47b2bd2e96ad1ad76d18acdc7 (commit)
      from  48ce800aa5a2ccee204ad3960a20c4ca14acb3a1 (commit)


- Log -----------------------------------------------------------------
commit 607c9268560fb2f47b2bd2e96ad1ad76d18acdc7
Author: Andy <anhour at amazon.com>
Date:   Wed Mar 1 01:07:01 2017 +0000

    Code health: ssl/ssl_locl.h unused macros
    
    CLA: trivial
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2806)

-----------------------------------------------------------------------

Summary of changes:
 ssl/ssl_locl.h | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index a7b21b2..c253c99 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.


More information about the openssl-commits mailing list