mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-03 08:12:05 +00:00
- dtucker@cvs.openbsd.org 2012/07/02 12:13:26
[ssh-pkcs11-helper.c sftp-client.c] fix a couple of "assigned but not used" warnings. ok markus@
This commit is contained in:
parent
7b30501bf5
commit
4908d44e67
@ -13,6 +13,9 @@
|
||||
- dtucker@cvs.openbsd.org 2012/07/02 08:50:03
|
||||
[ssh.c]
|
||||
set interactive ToS for forwarded X11 sessions. ok djm@
|
||||
- dtucker@cvs.openbsd.org 2012/07/02 12:13:26
|
||||
[ssh-pkcs11-helper.c sftp-client.c]
|
||||
fix a couple of "assigned but not used" warnings. ok markus@
|
||||
|
||||
20120629
|
||||
- OpenBSD CVS Sync
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: sftp-client.c,v 1.96 2011/09/12 08:46:15 markus Exp $ */
|
||||
/* $OpenBSD: sftp-client.c,v 1.97 2012/07/02 12:13:26 dtucker Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
|
||||
*
|
||||
@ -757,7 +757,8 @@ do_realpath(struct sftp_conn *conn, char *path)
|
||||
longname = buffer_get_string(&msg, NULL);
|
||||
a = decode_attrib(&msg);
|
||||
|
||||
debug3("SSH_FXP_REALPATH %s -> %s", path, filename);
|
||||
debug3("SSH_FXP_REALPATH %s -> %s size %lu", path, filename,
|
||||
(unsigned long)a->size);
|
||||
|
||||
xfree(longname);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ssh-pkcs11-helper.c,v 1.3 2010/02/24 06:12:53 djm Exp $ */
|
||||
/* $OpenBSD: ssh-pkcs11-helper.c,v 1.4 2012/07/02 12:13:26 dtucker Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2010 Markus Friedl. All rights reserved.
|
||||
*
|
||||
@ -168,13 +168,13 @@ process_sign(void)
|
||||
{
|
||||
u_char *blob, *data, *signature = NULL;
|
||||
u_int blen, dlen, slen = 0;
|
||||
int ok = -1, flags, ret;
|
||||
int ok = -1, ret;
|
||||
Key *key, *found;
|
||||
Buffer msg;
|
||||
|
||||
blob = get_string(&blen);
|
||||
data = get_string(&dlen);
|
||||
flags = get_int(); /* XXX ignore */
|
||||
(void)get_int(); /* XXX ignore flags */
|
||||
|
||||
if ((key = key_from_blob(blob, blen)) != NULL) {
|
||||
if ((found = lookup_key(key)) != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user