]> andersk Git - openssh.git/blobdiff - auth-rsa.c
- (djm) Redhat initscript config sanity checking from Pekka Savola
[openssh.git] / auth-rsa.c
index 899daae3b78944427004ff951df33a44cd8cdb1d..701d8bd5317da247a31ad566cfce98d4b960815a 100644 (file)
@@ -14,7 +14,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: auth-rsa.c,v 1.42 2001/06/22 21:55:48 markus Exp $");
+RCSID("$OpenBSD: auth-rsa.c,v 1.44 2001/07/23 18:14:58 stevesk Exp $");
 
 #include <openssl/rsa.h>
 #include <openssl/md5.h>
@@ -159,7 +159,7 @@ auth_rsa(struct passwd *pw, BIGNUM *client_n)
                return 0;
        }
        if (options.strict_modes &&
-           secure_filename(f, file, pw->pw_uid, line, sizeof(line)) != 0) {
+           secure_filename(f, file, pw, line, sizeof(line)) != 0) {
                xfree(file);
                fclose(f);
                log("Authentication refused: %s", line);
@@ -223,7 +223,7 @@ auth_rsa(struct passwd *pw, BIGNUM *client_n)
 
                /* check the real bits  */
                if (bits != BN_num_bits(pk->n))
-                       log("Warning: %s, line %ld: keysize mismatch: "
+                       log("Warning: %s, line %lu: keysize mismatch: "
                            "actual %d vs. announced %d.",
                            file, linenum, BN_num_bits(pk->n), bits);
 
This page took 0.032911 seconds and 4 git commands to generate.