comparison cli-kex.c @ 1932:62ae35ff833e

dbclient print remote fingerprint with -v
author Matt Johnston <matt@ucc.asn.au>
date Fri, 01 Apr 2022 11:21:34 +0800
parents 6e71440b1e47
children
comparison
equal deleted inserted replaced
1931:b366dfaeae68 1932:62ae35ff833e
369 ret = cmp_base64_key(keyblob, keybloblen, (const unsigned char *) algoname, algolen, 369 ret = cmp_base64_key(keyblob, keybloblen, (const unsigned char *) algoname, algolen,
370 line, &fingerprint); 370 line, &fingerprint);
371 371
372 if (ret == DROPBEAR_SUCCESS) { 372 if (ret == DROPBEAR_SUCCESS) {
373 /* Good matching key */ 373 /* Good matching key */
374 TRACE(("good matching key")) 374 DEBUG1(("server match %s", fingerprint))
375 goto out; 375 goto out;
376 } 376 }
377 377
378 /* The keys didn't match. eep. Note that we're "leaking" 378 /* The keys didn't match. eep. Note that we're "leaking"
379 the fingerprint strings here, but we're exiting anyway */ 379 the fingerprint strings here, but we're exiting anyway */