diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-11-18 04:15:26 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-11-18 04:15:26 +0100 |
commit | 857f49e91eeae6feb781ef5f5e26c38ca3d953ec (patch) | |
tree | 58a4e392d06716d8999c2c37b8d3bf70bed6e214 /sshkey.c | |
parent | Enable -Wimplicit-fallthrough if supported (diff) | |
download | openssh-857f49e91eeae6feb781ef5f5e26c38ca3d953ec.tar.xz openssh-857f49e91eeae6feb781ef5f5e26c38ca3d953ec.zip |
Move ifdef OPENSSL_HAS_ECC.
Found by -Wimplicit-fallthrough: one ECC case was not inside the ifdef.
ok djm@
Diffstat (limited to '')
-rw-r--r-- | sshkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2430,6 +2430,7 @@ sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, DSA_print_fp(stderr, key->dsa, 8); #endif break; +# ifdef OPENSSL_HAS_ECC case KEY_ECDSA_CERT: case KEY_ECDSA_SK_CERT: /* Skip nonce */ @@ -2438,7 +2439,6 @@ sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, goto out; } /* FALLTHROUGH */ -# ifdef OPENSSL_HAS_ECC case KEY_ECDSA: case KEY_ECDSA_SK: if ((key = sshkey_new(type)) == NULL) { |