mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
1494. [security] Turn on RSA BLINDING as a precaution.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
|||||||
|
1494. [security] Turn on RSA BLINDING as a precaution.
|
||||||
|
|
||||||
1493. [placeholder]
|
1493. [placeholder]
|
||||||
|
|
||||||
1492. [cleanup] Preserve rwlock quota context when upgrading /
|
1492. [cleanup] Preserve rwlock quota context when upgrading /
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Principal Author: Brian Wellington
|
* Principal Author: Brian Wellington
|
||||||
* $Id: opensslrsa_link.c,v 1.25 2002/12/13 02:51:41 marka Exp $
|
* $Id: opensslrsa_link.c,v 1.26 2003/07/24 06:08:20 marka Exp $
|
||||||
*/
|
*/
|
||||||
#ifdef OPENSSL
|
#ifdef OPENSSL
|
||||||
|
|
||||||
@@ -42,9 +42,15 @@
|
|||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x0090601fL
|
#if OPENSSL_VERSION_NUMBER < 0x0090601fL
|
||||||
#define SET_FLAGS(rsa) \
|
#define SET_FLAGS(rsa) \
|
||||||
(rsa)->flags &= ~(RSA_FLAG_CACHE_PUBLIC | RSA_FLAG_CACHE_PRIVATE);
|
do { \
|
||||||
|
(rsa)->flags &= ~(RSA_FLAG_CACHE_PUBLIC | RSA_FLAG_CACHE_PRIVATE); \
|
||||||
|
(rsa)->flags |= RSA_FLAG_BLINDING; \
|
||||||
|
} while (0)
|
||||||
#else
|
#else
|
||||||
#define SET_FLAGS(rsa) do { } while (0);
|
#define SET_FLAGS(rsa) \
|
||||||
|
do { \
|
||||||
|
(rsa)->flags |= RSA_FLAG_BLINDING; \
|
||||||
|
} while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static isc_result_t opensslrsa_todns(const dst_key_t *key, isc_buffer_t *data);
|
static isc_result_t opensslrsa_todns(const dst_key_t *key, isc_buffer_t *data);
|
||||||
|
Reference in New Issue
Block a user