зеркало из https://github.com/Azure/sonic-openssh.git
- (djm) [bufec.c] Skip this file on !ECC OpenSSL
This commit is contained in:
Родитель
9c1dede005
Коммит
ed126de8ee
|
@ -1,4 +1,7 @@
|
|||
20140823
|
||||
20140825
|
||||
- (djm) [bufec.c] Skip this file on !ECC OpenSSL
|
||||
|
||||
20140824
|
||||
- (djm) [sftp-server.c] Some systems (e.g. Irix) have prctl() but not
|
||||
PR_SET_DUMPABLE, so adjust ifdef; reported by Tom Christensen
|
||||
|
||||
|
|
3
bufec.c
3
bufec.c
|
@ -26,6 +26,8 @@
|
|||
#include "log.h"
|
||||
#include "ssherr.h"
|
||||
|
||||
#ifdef OPENSSL_HAS_ECC
|
||||
|
||||
int
|
||||
buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve,
|
||||
const EC_POINT *point)
|
||||
|
@ -68,4 +70,5 @@ buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve,
|
|||
fatal("%s: buffer error", __func__);
|
||||
}
|
||||
|
||||
#endif /* OPENSSL_HAS_ECC */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче