summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-06 16:53:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-06 16:53:55 +0000
commitb473115bee8e5e590ce5f8f86c42395373bf31d4 (patch)
treee5aea21bc79427afb8f4c400468b37edb9a326f7
parent03f5e720b91d1c280b4d9b00a81aa3f06b4af366 (diff)
decl before code for compiler compatibility
-rw-r--r--usr.bin/ssh/ssh-ecdsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-ecdsa.c b/usr.bin/ssh/ssh-ecdsa.c
index a1c1bdb6092..969fe5d6dca 100644
--- a/usr.bin/ssh/ssh-ecdsa.c
+++ b/usr.bin/ssh/ssh-ecdsa.c
@@ -98,6 +98,7 @@ ssh_ecdsa_verify(const Key *key, const u_char *signature, u_int signaturelen,
u_int len, dlen;
int rlen, ret;
Buffer b, bb;
+ char *ktype;
if (key == NULL || key->ecdsa == NULL ||
(key->type != KEY_ECDSA && key->type != KEY_ECDSA_CERT)) {
@@ -106,7 +107,6 @@ ssh_ecdsa_verify(const Key *key, const u_char *signature, u_int signaturelen,
}
/* fetch signature */
- char *ktype;
buffer_init(&b);
buffer_append(&b, signature, signaturelen);
ktype = buffer_get_string(&b, NULL);