summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2000-04-26 20:48:42 +0000
committermarkus <markus@openbsd.org>2000-04-26 20:48:42 +0000
commit75f72f2d251b2405e2ca5745ddc99b52c1b2254e (patch)
tree9e9651509d6f7cb8fa5936f71e7d60b7ad1b1f67
parentdisklabel manipulation routines page from netbsd w/ some adjustments; no history section (diff)
downloadwireguard-openbsd-75f72f2d251b2405e2ca5745ddc99b52c1b2254e.tar.xz
wireguard-openbsd-75f72f2d251b2405e2ca5745ddc99b52c1b2254e.zip
missing fclose
-rw-r--r--usr.bin/ssh/auth-rsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth-rsa.c b/usr.bin/ssh/auth-rsa.c
index 7963c344277..2c87c012fa1 100644
--- a/usr.bin/ssh/auth-rsa.c
+++ b/usr.bin/ssh/auth-rsa.c
@@ -16,7 +16,7 @@
*/
#include "includes.h"
-RCSID("$Id: auth-rsa.c,v 1.21 2000/04/14 10:30:29 markus Exp $");
+RCSID("$Id: auth-rsa.c,v 1.22 2000/04/26 20:48:42 markus Exp $");
#include "rsa.h"
#include "packet.h"
@@ -185,6 +185,7 @@ auth_rsa(struct passwd *pw, BIGNUM *client_n)
}
}
if (fail) {
+ fclose(f);
log(buf);
packet_send_debug(buf);
restore_uid();