[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Fri May 15 18:39:43 UTC 2015


The branch master has been updated
       via  756eff7a31b5b46577e8529645b254ccc256a8ae (commit)
      from  857048a7f339913fc4e510ddf033878850c655cd (commit)


- Log -----------------------------------------------------------------
commit 756eff7a31b5b46577e8529645b254ccc256a8ae
Author: Rich Salz <rsalz at akamai.com>
Date:   Thu May 14 15:36:09 2015 -0400

    Remove unused #ifdef's from header files
    
    And remove a duplicate comment, probably from a merge hiccup.
    
    Reviewed-by: Matt Caswell <matt at openssl.org>

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

Summary of changes:
 include/openssl/bn.h  |  4 ----
 include/openssl/pem.h | 36 ------------------------------------
 2 files changed, 40 deletions(-)

diff --git a/include/openssl/bn.h b/include/openssl/bn.h
index 5a2e8db..9c53aaf 100644
--- a/include/openssl/bn.h
+++ b/include/openssl/bn.h
@@ -272,10 +272,6 @@ extern "C" {
 # ifdef OPENSSL_USE_DEPRECATED
 /* deprecated name for the flag */
 #  define BN_FLG_EXP_CONSTTIME BN_FLG_CONSTTIME
-/*
- * avoid leaking exponent information through timings
- * (BN_mod_exp_mont() will call BN_mod_exp_mont_consttime)
- */
 # endif
 
 # ifdef OPENSSL_USE_DEPRECATED
diff --git a/include/openssl/pem.h b/include/openssl/pem.h
index d42e5b0..a1e5166 100644
--- a/include/openssl/pem.h
+++ b/include/openssl/pem.h
@@ -72,41 +72,6 @@ extern "C" {
 
 # define PEM_BUFSIZE             1024
 
-# define PEM_OBJ_UNDEF           0
-# define PEM_OBJ_X509            1
-# define PEM_OBJ_X509_REQ        2
-# define PEM_OBJ_CRL             3
-# define PEM_OBJ_SSL_SESSION     4
-# define PEM_OBJ_PRIV_KEY        10
-# define PEM_OBJ_PRIV_RSA        11
-# define PEM_OBJ_PRIV_DSA        12
-# define PEM_OBJ_PRIV_DH         13
-# define PEM_OBJ_PUB_RSA         14
-# define PEM_OBJ_PUB_DSA         15
-# define PEM_OBJ_PUB_DH          16
-# define PEM_OBJ_DHPARAMS        17
-# define PEM_OBJ_DSAPARAMS       18
-# define PEM_OBJ_PRIV_RSA_PUBLIC 19
-# define PEM_OBJ_PRIV_ECDSA      20
-# define PEM_OBJ_PUB_ECDSA       21
-# define PEM_OBJ_ECPARAMETERS    22
-
-# define PEM_ERROR               30
-# define PEM_DEK_DES_CBC         40
-# define PEM_DEK_IDEA_CBC        45
-# define PEM_DEK_DES_EDE         50
-# define PEM_DEK_DES_ECB         60
-# define PEM_DEK_RSA             70
-# define PEM_DEK_RSA_MD2         80
-# define PEM_DEK_RSA_MD5         90
-
-# define PEM_MD_MD2              NID_md2
-# define PEM_MD_MD5              NID_md5
-# define PEM_MD_SHA              NID_sha
-# define PEM_MD_MD2_RSA          NID_md2WithRSAEncryption
-# define PEM_MD_MD5_RSA          NID_md5WithRSAEncryption
-# define PEM_MD_SHA_RSA          NID_sha1WithRSAEncryption
-
 # define PEM_STRING_X509_OLD     "X509 CERTIFICATE"
 # define PEM_STRING_X509         "CERTIFICATE"
 # define PEM_STRING_X509_TRUSTED "TRUSTED CERTIFICATE"
@@ -143,7 +108,6 @@ typedef struct PEM_Encode_Seal_st {
     EVP_CIPHER_CTX cipher;
 } PEM_ENCODE_SEAL_CTX;
 
-/* enc_type is one off */
 # define PEM_TYPE_ENCRYPTED      10
 # define PEM_TYPE_MIC_ONLY       20
 # define PEM_TYPE_MIC_CLEAR      30


More information about the openssl-commits mailing list