diff options
author | mouring <mouring> | 2002-06-25 23:19:13 +0000 |
---|---|---|
committer | mouring <mouring> | 2002-06-25 23:19:13 +0000 |
commit | c8e8aeb5523c1941fe044875e9fb01840058b94a (patch) | |
tree | aa4df1c191d586d417500f30419713c717d467bb /authfile.c | |
parent | c8ac9b2f4d3949fb1f193942d2aa54ccd2df1fbc (diff) | |
download | openssh-c8e8aeb5523c1941fe044875e9fb01840058b94a.tar.gz |
- markus@cvs.openbsd.org 2002/06/24 14:55:38
[authfile.c kex.c ssh-agent.c]
cat to (void) when output from buffer_get_X is ignored
Diffstat (limited to 'authfile.c')
-rw-r--r-- | authfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: authfile.c,v 1.49 2002/05/23 19:24:30 markus Exp $"); +RCSID("$OpenBSD: authfile.c,v 1.50 2002/06/24 14:55:38 markus Exp $"); #include <openssl/err.h> #include <openssl/evp.h> @@ -270,7 +270,7 @@ key_load_public_rsa1(int fd, const char *filename, char **commentp) (void) buffer_get_int(&buffer); /* reserved */ /* Read the public key from the buffer. */ - buffer_get_int(&buffer); + (void) buffer_get_int(&buffer); pub = key_new(KEY_RSA1); buffer_get_bignum(&buffer, pub->rsa->n); buffer_get_bignum(&buffer, pub->rsa->e); @@ -357,7 +357,7 @@ key_load_private_rsa1(int fd, const char *filename, const char *passphrase, (void) buffer_get_int(&buffer); /* Reserved data. */ /* Read the public key from the buffer. */ - buffer_get_int(&buffer); + (void) buffer_get_int(&buffer); prv = key_new_private(KEY_RSA1); buffer_get_bignum(&buffer, prv->rsa->n); |