diff options
-rw-r--r-- | lib/libcrypto/rsa/rsa.h | 14 | ||||
-rw-r--r-- | lib/libssl/src/crypto/rsa/rsa.h | 14 |
2 files changed, 2 insertions, 26 deletions
diff --git a/lib/libcrypto/rsa/rsa.h b/lib/libcrypto/rsa/rsa.h index 0cd51a7e299..fdfd29c33ad 100644 --- a/lib/libcrypto/rsa/rsa.h +++ b/lib/libcrypto/rsa/rsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.h,v 1.22 2014/07/09 20:05:54 jsing Exp $ */ +/* $OpenBSD: rsa.h,v 1.23 2014/07/10 11:04:49 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -202,18 +202,6 @@ struct rsa_st { */ #define RSA_FLAG_NO_CONSTTIME 0x0100 -#ifndef OPENSSL_NO_DEPRECATED - -/* Deprecated name for the flag. */ -/* - * New with 0.9.7h; the built-in RSA implementation now uses constant time - * modular exponentiation for secret exponents by default. This flag causes - * the faster variable sliding window method to be used for all exponents. - */ -#define RSA_FLAG_NO_EXP_CONSTTIME RSA_FLAG_NO_CONSTTIME - -#endif - #define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \ EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, \ diff --git a/lib/libssl/src/crypto/rsa/rsa.h b/lib/libssl/src/crypto/rsa/rsa.h index 0cd51a7e299..fdfd29c33ad 100644 --- a/lib/libssl/src/crypto/rsa/rsa.h +++ b/lib/libssl/src/crypto/rsa/rsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.h,v 1.22 2014/07/09 20:05:54 jsing Exp $ */ +/* $OpenBSD: rsa.h,v 1.23 2014/07/10 11:04:49 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -202,18 +202,6 @@ struct rsa_st { */ #define RSA_FLAG_NO_CONSTTIME 0x0100 -#ifndef OPENSSL_NO_DEPRECATED - -/* Deprecated name for the flag. */ -/* - * New with 0.9.7h; the built-in RSA implementation now uses constant time - * modular exponentiation for secret exponents by default. This flag causes - * the faster variable sliding window method to be used for all exponents. - */ -#define RSA_FLAG_NO_EXP_CONSTTIME RSA_FLAG_NO_CONSTTIME - -#endif - #define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \ EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, \ |