comparison svr-authpubkey.c @ 1318:10e2a7727253 coverity

merge coverity
author Matt Johnston <matt@ucc.asn.au>
date Fri, 22 Jul 2016 00:08:02 +0800
parents 750ec4ec4cbe
children 8747c2b19152
comparison
equal deleted inserted replaced
1286:7d02b83c61fd 1318:10e2a7727253
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,