missing fclose
authormarkus <markus@openbsd.org>
Wed, 26 Apr 2000 20:48:42 +0000 (20:48 +0000)
committermarkus <markus@openbsd.org>
Wed, 26 Apr 2000 20:48:42 +0000 (20:48 +0000)
usr.bin/ssh/auth-rsa.c

index 7963c34..2c87c01 100644 (file)
@@ -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();