Mercurial > dropbear
comparison svr-authpubkey.c @ 436:7282370416a0
Improve known_hosts checking.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 22 Feb 2007 15:29:32 +0000 |
parents | bf64e666f99b |
children | 4317be8b7cf9 |
comparison
equal
deleted
inserted
replaced
435:337c45621e81 | 436:7282370416a0 |
---|---|
229 buf_setpos(line, pos); | 229 buf_setpos(line, pos); |
230 buf_setlen(line, line->pos + len); | 230 buf_setlen(line, line->pos + len); |
231 | 231 |
232 TRACE(("checkpubkey: line pos = %d len = %d", line->pos, line->len)) | 232 TRACE(("checkpubkey: line pos = %d len = %d", line->pos, line->len)) |
233 | 233 |
234 ret = cmp_base64_key(keyblob, keybloblen, algo, algolen, line); | 234 ret = cmp_base64_key(keyblob, keybloblen, algo, algolen, line, NULL); |
235 if (ret == DROPBEAR_SUCCESS) { | 235 if (ret == DROPBEAR_SUCCESS) { |
236 break; | 236 break; |
237 } | 237 } |
238 | 238 |
239 /* We continue to the next line otherwise */ | 239 /* We continue to the next line otherwise */ |