diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bufec.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,7 @@ | |||
1 | 20140823 | 1 | 20140825 |
2 | - (djm) [bufec.c] Skip this file on !ECC OpenSSL | ||
3 | |||
4 | 20140824 | ||
2 | - (djm) [sftp-server.c] Some systems (e.g. Irix) have prctl() but not | 5 | - (djm) [sftp-server.c] Some systems (e.g. Irix) have prctl() but not |
3 | PR_SET_DUMPABLE, so adjust ifdef; reported by Tom Christensen | 6 | PR_SET_DUMPABLE, so adjust ifdef; reported by Tom Christensen |
4 | 7 | ||
@@ -26,6 +26,8 @@ | |||
26 | #include "log.h" | 26 | #include "log.h" |
27 | #include "ssherr.h" | 27 | #include "ssherr.h" |
28 | 28 | ||
29 | #ifdef OPENSSL_HAS_ECC | ||
30 | |||
29 | int | 31 | int |
30 | buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, | 32 | buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, |
31 | const EC_POINT *point) | 33 | const EC_POINT *point) |
@@ -68,4 +70,5 @@ buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve, | |||
68 | fatal("%s: buffer error", __func__); | 70 | fatal("%s: buffer error", __func__); |
69 | } | 71 | } |
70 | 72 | ||
73 | #endif /* OPENSSL_HAS_ECC */ | ||
71 | 74 | ||