- markus@cvs.openbsd.org 2002/03/25 09:21:13
[auth-rsa.c]
return 0 (not NULL); tomh@po.crl.go.jp
diff --git a/auth-rsa.c b/auth-rsa.c
index 9c5d484..c51400c 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -14,7 +14,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth-rsa.c,v 1.52 2002/03/18 17:50:31 provos Exp $");
+RCSID("$OpenBSD: auth-rsa.c,v 1.53 2002/03/25 09:21:13 markus Exp $");
#include <openssl/rsa.h>
#include <openssl/md5.h>
@@ -165,7 +165,7 @@
/* Restore the privileged uid. */
restore_uid();
xfree(file);
- return (NULL);
+ return (0);
}
/* Open the file containing the authorized keys. */
f = fopen(file, "r");
@@ -173,7 +173,7 @@
/* Restore the privileged uid. */
restore_uid();
xfree(file);
- return (NULL);
+ return (0);
}
if (options.strict_modes &&
secure_filename(f, file, pw, line, sizeof(line)) != 0) {
@@ -181,7 +181,7 @@
fclose(f);
log("Authentication refused: %s", line);
restore_uid();
- return (NULL);
+ return (0);
}
/* Flag indicating whether the key is allowed. */