comparison svr-authpubkey.c @ 1342:8747c2b19152

merge 2017.75
author Matt Johnston <matt@ucc.asn.au>
date Thu, 18 May 2017 22:59:38 +0800
parents 0d889b068123 750ec4ec4cbe
children 10df23099071
comparison
equal deleted inserted replaced
1341:ab35a9ccc2eb 1342:8747c2b19152
63 #include "auth.h" 63 #include "auth.h"
64 #include "ssh.h" 64 #include "ssh.h"
65 #include "packet.h" 65 #include "packet.h"
66 #include "algo.h" 66 #include "algo.h"
67 67
68 #ifdef ENABLE_SVR_PUBKEY_AUTH 68 #if DROPBEAR_SVR_PUBKEY_AUTH
69 69
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,