Ondřej Surý
2f8b28efad
Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached
...
(cherry picked from commit 23fff6c569 )
(cherry picked from commit 4568669807 )
2018-11-08 22:42:52 +07:00
Ondřej Surý
1084b40b44
Replace custom isc_boolean_t with C standard bool type
...
(cherry picked from commit 994e656977 )
(cherry picked from commit 884929400c )
2018-08-10 15:20:57 +02:00
Ondřej Surý
aaa76dc654
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
...
(cherry picked from commit cb6a185c69 )
(cherry picked from commit d61e6a3111 )
2018-08-10 15:20:57 +02:00
Ondřej Surý
188526f41c
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
...
(cherry picked from commit 55a10b7acd )
2018-05-11 14:25:15 +02:00
Ondřej Surý
9ad51fd177
Use standard OPENSSL_NO_ENGINE instead of custom USE_ENGINE define
...
(cherry picked from commit 8d648e7a8a )
(cherry picked from commit 311fbf3f5b )
2018-05-03 21:48:44 +02:00
Ondřej Surý
f3414c74ec
Add support for LibreSSL 2.7
...
(cherry picked from commit 29ff62a149 )
2018-05-03 14:27:33 +02:00
Ondřej Surý and Mark Andrews
c5d1fedca8
A couple of more cleanups after free in opensslrsa_generate()
...
(cherry picked from commit d2b3188c61 )
2018-04-06 14:23:58 +10:00
Petr Mensik and Mark Andrews
8baf990392
Do not assign NULL conditionally in OpenSSL < 1.1, make it always explicit.
...
(cherry picked from commit edaafacf36 )
2018-04-06 14:23:58 +10:00
Petr Mensik and Mark Andrews
f36e13b039
Fix double free on RSA_generate_key_ex failure
...
(cherry picked from commit 01cc622e7b )
2018-04-06 14:23:57 +10:00
Evan Hunt
8b205089b7
update file headers to remove copyright years
2018-03-14 16:40:20 -07:00
Mukund Sivaraman
b5252fcde5
Don't use memset() to wipe memory ( #45947 )
...
(cherry picked from commit d5707676e4 )
2017-09-19 17:00:37 +05:30
Mukund Sivaraman
264e17e739
Reject incorrect RSA key lengths during key generation and and sign/verify context creation ( #45043 )
...
(cherry picked from commit 239e9dc81c )
2017-04-21 19:04:50 +05:30
Mark Andrews
a4240242cd
remove outdated cvs $Id strings
2017-02-03 18:39:57 +11:00
Tinderbox User
00860eece0
update copyright notice / whitespace
2017-01-13 23:46:05 +00:00
Mark Andrews
1de3115e8c
make e's declaration unconditional. [RT #44324 ]
...
(cherry picked from commit b8eee0f48d )
2017-01-13 16:10:39 +11:00
Mark Andrews
880fce6a74
add more LIBRESSL_VERSION_NUMBER checks
...
(cherry picked from commit 429b543086 )
2016-11-01 12:37:29 +11:00
Mark Andrews
395fe33465
add more LIBRESSL_VERSION_NUMBER checks
...
(cherry picked from commit 3d38cfaf8a )
2016-11-01 12:25:03 +11:00
Mark Andrews
76af83c9ad
4497. [port] Add support for OpenSSL 1.1.0. [RT #41284 ]
...
(cherry picked from commit 1fce0951ed )
2016-10-31 10:05:55 +11:00
Mark Andrews
c40906dfad
4450. [port] Provide more nuanced HSM support which better matches
...
the specific PKCS11 providers capabilities. [RT #42458 ]
(cherry picked from commit 8ee6f289d8 )
2016-08-19 08:05:47 +10:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mark Andrews
a12a21a843
bracket mismatch; window openssl version check
2015-12-06 23:05:47 +11:00
Mark Andrews
5b1c7ef35b
4264. [bug] Check const of strchr/strrchr assignments match
...
argument's const status. [RT #41150 ]
2015-11-20 18:38:24 +11:00
Mark Andrews
f824c65d1f
4340. [port] Fix LibreSSL compatibility. [RT #40977 ]
2015-10-19 10:43:58 +11:00
Mark Andrews
b46fc43469
#include <isc/safe.h>
2015-08-18 21:22:48 +10:00
Evan Hunt
420a43c8d8
[master] timing safe memory comparisons
...
4183. [cleanup] Use timing-safe memory comparisons in cryptographic
code. Also, the timing-safe comparison functions have
been renamed to avoid possible confusion with
memcmp(). [RT #40148 ]
2015-08-17 18:26:44 -07:00
Evan Hunt
ce9f893e21
[master] address buffer accounting error
...
4168. [security] A buffer accounting error could trigger an
assertion failure when parsing certain malformed
DNSSEC keys. (CVE-2015-5722) [RT #40212 ]
2015-08-07 13:16:10 -07:00
Mark Andrews
03089dd420
add INSIST to silence coverity
2015-05-30 17:37:14 +10:00
Mark Andrews
8bb630c751
4129. [port] Address API changes in OpenSSL 1.1.0. [RT #39532 ]
2015-05-28 14:41:21 +10:00
Mark Andrews
e53e202ef3
4128. [bug] Address issues raised by Coverity 7.6. [RT #39537 ]
2015-05-28 13:17:07 +10:00
Francis Dupont
bcb68be0a8
misc fixes for VS 2015 CTP #39267
2015-04-17 02:57:02 +02:00
Evan Hunt
3249da26fc
[master] rationalize external key handling
...
3723. [cleanup] Imported keys are now handled the same way
regardless of DNSSEC algorithm. [RT #35215 ]
2014-01-30 17:49:32 -08:00
Evan Hunt
ba751492fc
[master] native PKCS#11 support
...
3705. [func] "configure --enable-native-pkcs11" enables BIND
to use the PKCS#11 API for all cryptographic
functions, so that it can drive a hardware service
module directly without the need to use a modified
OpenSSL as intermediary (so long as the HSM's vendor
provides a complete-enough implementation of the
PKCS#11 interface). This has been tested successfully
with the Thales nShield HSM and with SoftHSMv2 from
the OpenDNSSEC project. [RT #29031 ]
2014-01-14 15:40:56 -08:00
Tinderbox User
431a83fb29
update copyright notice
2014-01-09 23:46:35 +00:00
Evan Hunt
e851ea8260
[master] replace memcpy() with memmove().
...
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120 ]
2014-01-08 16:39:05 -08:00
Tinderbox User
63737247d1
update copyright notice
2013-09-05 23:46:16 +00:00
Mark Andrews
0c91911b4d
3642. [func] Allow externally generated DNSKEY to be imported
...
into the DNSKEY management framework. A new tool
dnssec-importkey is used to this. [RT #34698 ]
2013-09-04 13:53:02 +10:00
Evan Hunt
0e37e9e3d7
[master] silence noisy OpenSSL logging
...
3402. [bug] Correct interface numbers for IPv4 and IPv6 interfaces.
2012-10-24 12:58:16 -07:00
Mark Andrews
1d2f282840
cleanup unused variables
2012-07-24 12:18:10 +10:00
Mark Andrews
6eb6af6732
3354. [func] Improve OpenSSL error logging. [RT #29932 ]
2012-07-23 15:08:21 +10:00
Mark Andrews
ec048f4600
make maxbits signed as BN_num_bits is signed
2012-06-15 11:54:58 +10:00
Mark Andrews
7865ea9545
3339. [func] Allow the maximum supported rsa exponent size to be specified: "max-rsa-exponent-size <value>;" [RT #29228 ]
2012-06-14 15:44:20 +10:00
Tinderbox User
5fa46bc916
update copyright notice
2012-03-10 23:45:53 +00:00
Mark Andrews
28a8f5b0de
set $Id$
2012-03-08 00:21:15 +11:00
Mark Andrews
8473cd921e
pkey is only used if USE_ENGINE is defined or USE_EVP is 1
2011-03-11 02:59:37 +00:00
Mark Andrews
19f4b069dc
3068. [bug] Named failed to build with a OpenSSL without engine
...
support. [RT #23473 ]
2011-03-11 01:11:54 +00:00
Automatic Updater
135bcc2e42
update copyright notice
2011-01-11 23:47:14 +00:00
Mark Andrews
433e06a25c
3006. [func] Allow dynamically generated TSIG keys to be preserved
...
across restarts of named. Initially this is for
TSIG keys generated using GSSAPI. [RT #22639 ]
2011-01-10 05:32:04 +00:00
Mark Andrews
8a0943e125
silence compiler warnings. [RT #20472 ]
2009-10-30 05:08:23 +00:00
Mark Andrews
4c53f98dbd
RFC5702
2009-10-28 21:08:18 +00:00
Automatic Updater
990dca4605
update copyright notice
2009-10-27 23:47:45 +00:00