comparison svr-authpubkey.c @ 1295:750ec4ec4cbe

Convert #ifdef to #if, other build changes
author Matt Johnston <matt@ucc.asn.au>
date Wed, 04 May 2016 15:33:40 +0200
parents 9169e4e7cbee
children 8747c2b19152
comparison
equal deleted inserted replaced
1294:56aba7dedbea 1295:750ec4ec4cbe
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,