mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-25 11:22:10 +00:00
- (djm) [configure.ac] Disable ECC on OpenSSL <0.9.8g. Releases prior to
0.9.8 lacked it, and 0.9.8a through 0.9.8d have proven buggy in pre- release testing (random crashes and failure to load ECC keys). ok dtucker@
This commit is contained in:
parent
15e1b4dea7
commit
e323ebc250
@ -1,6 +1,10 @@
|
||||
20110119
|
||||
- (tim) [contrib/caldera/openssh.spec] Use CFLAGS from Makefile instead
|
||||
of RPM so build completes. Signatures were changed to .asc since 4.1p1.
|
||||
- (djm) [configure.ac] Disable ECC on OpenSSL <0.9.8g. Releases prior to
|
||||
0.9.8 lacked it, and 0.9.8a through 0.9.8d have proven buggy in pre-
|
||||
release testing (random crashes and failure to load ECC keys).
|
||||
ok dtucker@
|
||||
|
||||
20110117
|
||||
- (djm) [regress/Makefile] use $TEST_SSH_KEYGEN instead of the one in
|
||||
|
10
configure.ac
10
configure.ac
@ -1,4 +1,4 @@
|
||||
# $Id: configure.ac,v 1.467 2011/01/17 10:15:30 dtucker Exp $
|
||||
# $Id: configure.ac,v 1.468 2011/01/19 12:12:30 djm Exp $
|
||||
#
|
||||
# Copyright (c) 1999-2004 Damien Miller
|
||||
#
|
||||
@ -15,7 +15,7 @@
|
||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
|
||||
AC_REVISION($Revision: 1.467 $)
|
||||
AC_REVISION($Revision: 1.468 $)
|
||||
AC_CONFIG_SRCDIR([ssh.c])
|
||||
|
||||
# local macros
|
||||
@ -2257,8 +2257,14 @@ AC_MSG_CHECKING([whether OpenSSL has complete ECC support])
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_SOURCE([[
|
||||
#include <openssl/ec.h>
|
||||
#include <openssl/ecdh.h>
|
||||
#include <openssl/ecdsa.h>
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/objects.h>
|
||||
#include <openssl/opensslv.h>
|
||||
#if OPENSSL_VERSION_NUMBER < 0x0090807f /* 0.9.8g */
|
||||
# error "OpenSSL < 0.9.8g has unreliable ECC code"
|
||||
#endif
|
||||
int main(void) {
|
||||
EC_KEY *e = EC_KEY_new_by_curve_name(NID_secp521r1);
|
||||
const EVP_MD *m = EVP_sha512(); /* We need this too */
|
||||
|
Loading…
Reference in New Issue
Block a user