diff options
author | Darren Tucker <dtucker@zip.com.au> | 2014-07-19 07:23:55 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2014-07-19 07:23:55 +1000 |
commit | d1a0421f8e5e933fee6fb58ee6b9a22c63c8a613 (patch) | |
tree | 3c065c3739686cbca02914fc6533e2dee92ae245 /sshkey.c | |
parent | f0fe9ea1be62227c130b317769de3d1e736b6dc1 (diff) |
- (dtucker) [key.c sshkey.c] Put new ecdsa bits inside ifdef OPENSSL_HAS_ECC.
Diffstat (limited to 'sshkey.c')
-rw-r--r-- | sshkey.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -762,6 +762,7 @@ to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain) (ret = sshbuf_put_bignum2(b, key->dsa->pub_key)) != 0) return ret; break; +# ifdef OPENSSL_HAS_ECC case KEY_ECDSA: if (key->ecdsa == NULL) return SSH_ERR_INVALID_ARGUMENT; @@ -771,6 +772,7 @@ to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain) (ret = sshbuf_put_eckey(b, key->ecdsa)) != 0) return ret; break; +# endif case KEY_RSA: if (key->rsa == NULL) return SSH_ERR_INVALID_ARGUMENT; |