Mercurial > dropbear
comparison svr-authpubkey.c @ 1278:0c47d97aa9d5
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 16 Mar 2016 22:53:27 +0800 |
parents | 9169e4e7cbee |
children | 750ec4ec4cbe 0d889b068123 |
comparison
equal
deleted
inserted
replaced
1264:a20b6af6f182 | 1278:0c47d97aa9d5 |
---|---|
70 #define MIN_AUTHKEYS_LINE 10 /* "ssh-rsa AB" - short but doesn't matter */ | 70 #define MIN_AUTHKEYS_LINE 10 /* "ssh-rsa AB" - short but doesn't matter */ |
71 #define MAX_AUTHKEYS_LINE 4200 /* max length of a line in authkeys */ | 71 #define MAX_AUTHKEYS_LINE 4200 /* max length of a line in authkeys */ |
72 | 72 |
73 static int checkpubkey(char* algo, unsigned int algolen, | 73 static int checkpubkey(char* algo, unsigned int algolen, |
74 unsigned char* keyblob, unsigned int keybloblen); | 74 unsigned char* keyblob, unsigned int keybloblen); |
75 static int checkpubkeyperms(); | 75 static int checkpubkeyperms(void); |
76 static void send_msg_userauth_pk_ok(char* algo, unsigned int algolen, | 76 static void send_msg_userauth_pk_ok(char* algo, unsigned int algolen, |
77 unsigned char* keyblob, unsigned int keybloblen); | 77 unsigned char* keyblob, unsigned int keybloblen); |
78 static int checkfileperm(char * filename); | 78 static int checkfileperm(char * filename); |
79 | 79 |
80 /* process a pubkey auth request, sending success or failure message as | 80 /* process a pubkey auth request, sending success or failure message as |