Mercurial > dropbear
comparison dbutil.c @ 68:eee77ac31ccc
cleaning up the pubkey defines
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 12 Aug 2004 14:56:22 +0000 |
parents | efb5e0b335cf |
children | b0316ce64e4b |
comparison
equal
deleted
inserted
replaced
67:86725004a0ea | 68:eee77ac31ccc |
---|---|
440 | 440 |
441 /* get a line from the file into buffer in the style expected for an | 441 /* get a line from the file into buffer in the style expected for an |
442 * authkeys file. | 442 * authkeys file. |
443 * Will return DROPBEAR_SUCCESS if data is read, or DROPBEAR_FAILURE on EOF.*/ | 443 * Will return DROPBEAR_SUCCESS if data is read, or DROPBEAR_FAILURE on EOF.*/ |
444 /* Only used for ~/.ssh/known_hosts and ~/.ssh/authorized_keys */ | 444 /* Only used for ~/.ssh/known_hosts and ~/.ssh/authorized_keys */ |
445 #if defined(DROPBEAR_CLIENT) || defined(DROPBEAR_PUBKEY_AUTH) | 445 #if defined(DROPBEAR_CLIENT) || defined(ENABLE_SVR_PUBKEY_AUTH) |
446 int buf_getline(buffer * line, FILE * authfile) { | 446 int buf_getline(buffer * line, FILE * authfile) { |
447 | 447 |
448 int c = EOF; | 448 int c = EOF; |
449 | 449 |
450 TRACE(("enter buf_getline")); | 450 TRACE(("enter buf_getline")); |