summaryrefslogtreecommitdiff
path: root/authfile.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-25 23:19:13 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-25 23:19:13 +0000
commitc5a7f4fdf98ec9067166f1643408a64acf308ff5 (patch)
tree802a47d8d1c0d66c1cfe8935b4fab29dec980540 /authfile.c
parent4fed2be856c2677c4b92825dfcfcbb178c241a8c (diff)
- 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/authfile.c b/authfile.c
index 6d936de56..1fa5d811a 100644
--- a/authfile.c
+++ b/authfile.c
@@ -36,7 +36,7 @@
36 */ 36 */
37 37
38#include "includes.h" 38#include "includes.h"
39RCSID("$OpenBSD: authfile.c,v 1.49 2002/05/23 19:24:30 markus Exp $"); 39RCSID("$OpenBSD: authfile.c,v 1.50 2002/06/24 14:55:38 markus Exp $");
40 40
41#include <openssl/err.h> 41#include <openssl/err.h>
42#include <openssl/evp.h> 42#include <openssl/evp.h>
@@ -270,7 +270,7 @@ key_load_public_rsa1(int fd, const char *filename, char **commentp)
270 (void) buffer_get_int(&buffer); /* reserved */ 270 (void) buffer_get_int(&buffer); /* reserved */
271 271
272 /* Read the public key from the buffer. */ 272 /* Read the public key from the buffer. */
273 buffer_get_int(&buffer); 273 (void) buffer_get_int(&buffer);
274 pub = key_new(KEY_RSA1); 274 pub = key_new(KEY_RSA1);
275 buffer_get_bignum(&buffer, pub->rsa->n); 275 buffer_get_bignum(&buffer, pub->rsa->n);
276 buffer_get_bignum(&buffer, pub->rsa->e); 276 buffer_get_bignum(&buffer, pub->rsa->e);
@@ -357,7 +357,7 @@ key_load_private_rsa1(int fd, const char *filename, const char *passphrase,
357 (void) buffer_get_int(&buffer); /* Reserved data. */ 357 (void) buffer_get_int(&buffer); /* Reserved data. */
358 358
359 /* Read the public key from the buffer. */ 359 /* Read the public key from the buffer. */
360 buffer_get_int(&buffer); 360 (void) buffer_get_int(&buffer);
361 prv = key_new_private(KEY_RSA1); 361 prv = key_new_private(KEY_RSA1);
362 362
363 buffer_get_bignum(&buffer, prv->rsa->n); 363 buffer_get_bignum(&buffer, prv->rsa->n);