mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 23:34:55 +02: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
|
- dtucker@cvs.openbsd.org 2012/07/02 08:50:03
|
||||||
[ssh.c]
|
[ssh.c]
|
||||||
set interactive ToS for forwarded X11 sessions. ok djm@
|
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
|
20120629
|
||||||
- OpenBSD CVS Sync
|
- 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>
|
* 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);
|
longname = buffer_get_string(&msg, NULL);
|
||||||
a = decode_attrib(&msg);
|
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);
|
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.
|
* Copyright (c) 2010 Markus Friedl. All rights reserved.
|
||||||
*
|
*
|
||||||
@ -168,13 +168,13 @@ process_sign(void)
|
|||||||
{
|
{
|
||||||
u_char *blob, *data, *signature = NULL;
|
u_char *blob, *data, *signature = NULL;
|
||||||
u_int blen, dlen, slen = 0;
|
u_int blen, dlen, slen = 0;
|
||||||
int ok = -1, flags, ret;
|
int ok = -1, ret;
|
||||||
Key *key, *found;
|
Key *key, *found;
|
||||||
Buffer msg;
|
Buffer msg;
|
||||||
|
|
||||||
blob = get_string(&blen);
|
blob = get_string(&blen);
|
||||||
data = get_string(&dlen);
|
data = get_string(&dlen);
|
||||||
flags = get_int(); /* XXX ignore */
|
(void)get_int(); /* XXX ignore flags */
|
||||||
|
|
||||||
if ((key = key_from_blob(blob, blen)) != NULL) {
|
if ((key = key_from_blob(blob, blen)) != NULL) {
|
||||||
if ((found = lookup_key(key)) != NULL) {
|
if ((found = lookup_key(key)) != NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user