diff options
author | Damien Miller <djm@mindrot.org> | 2010-09-10 11:39:26 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2010-09-10 11:39:26 +1000 |
commit | 6af914a15c0c33e8b5bab5ca61919b8562ff1db9 (patch) | |
tree | b87546d8a88a05e6fd600cbb2b8c0b132278cb10 /kex.h | |
parent | 041ab7c1e7d6514ed84a539a767f79ffb356e807 (diff) |
- (djm) [authfd.c authfile.c bufec.c buffer.h configure.ac kex.h kexecdh.c]
[kexecdhc.c kexecdhs.c key.c key.h myproposal.h packet.c readconf.c]
[ssh-agent.c ssh-ecdsa.c ssh-keygen.c ssh.c] Disable ECDH and ECDSA on
platforms that don't have the requisite OpenSSL support. ok dtucker@
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -159,13 +159,16 @@ void | |||
159 | kexgex_hash(const EVP_MD *, char *, char *, char *, int, char *, | 159 | kexgex_hash(const EVP_MD *, char *, char *, char *, int, char *, |
160 | int, u_char *, int, int, int, int, BIGNUM *, BIGNUM *, BIGNUM *, | 160 | int, u_char *, int, int, int, int, BIGNUM *, BIGNUM *, BIGNUM *, |
161 | BIGNUM *, BIGNUM *, u_char **, u_int *); | 161 | BIGNUM *, BIGNUM *, u_char **, u_int *); |
162 | #ifdef OPENSSL_HAS_ECC | ||
162 | void | 163 | void |
163 | kex_ecdh_hash(const EVP_MD *, const EC_GROUP *, char *, char *, char *, int, | 164 | kex_ecdh_hash(const EVP_MD *, const EC_GROUP *, char *, char *, char *, int, |
164 | char *, int, u_char *, int, const EC_POINT *, const EC_POINT *, | 165 | char *, int, u_char *, int, const EC_POINT *, const EC_POINT *, |
165 | const BIGNUM *, u_char **, u_int *); | 166 | const BIGNUM *, u_char **, u_int *); |
166 | |||
167 | int kex_ecdh_name_to_nid(const char *); | 167 | int kex_ecdh_name_to_nid(const char *); |
168 | const EVP_MD *kex_ecdh_name_to_evpmd(const char *); | 168 | const EVP_MD *kex_ecdh_name_to_evpmd(const char *); |
169 | #else | ||
170 | # define kex_ecdh_name_to_evpmd(x) NULL | ||
171 | #endif | ||
169 | 172 | ||
170 | void | 173 | void |
171 | derive_ssh1_session_id(BIGNUM *, BIGNUM *, u_int8_t[8], u_int8_t[16]); | 174 | derive_ssh1_session_id(BIGNUM *, BIGNUM *, u_int8_t[8], u_int8_t[16]); |