diff options
| author | Andreas Schneider <asn@cryptomilk.org> | 2014-05-09 08:55:49 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2014-05-09 08:55:49 +0200 |
| commit | 83633d539e11bbdcc4e3f2c1333b9770ccf30227 (patch) | |
| tree | 0f0a2e6dba964aa8ade2efbf9513e931bf09b9bc /src | |
| parent | c2ee63431b6090f5b1de15af91ac685443a09afd (diff) | |
| download | libssh-83633d539e11bbdcc4e3f2c1333b9770ccf30227.tar.gz libssh-83633d539e11bbdcc4e3f2c1333b9770ccf30227.tar.xz libssh-83633d539e11bbdcc4e3f2c1333b9770ccf30227.zip | |
pki: Fix build without ECC support.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/pki.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -109,7 +109,12 @@ enum ssh_keytypes_e pki_privatekey_type_from_string(const char *privkey) { */ const char *ssh_pki_key_ecdsa_name(const ssh_key key) { +#ifdef HAVE_OPENSSL_ECC /* FIXME Better ECC check needed */ return pki_key_ecdsa_nid_to_name(key->ecdsa_nid); +#else + (void) key; /* unused */ + return NULL; +#endif } /** |
