View | Details | Raw Unified | Return to bug 23286
Collapse All | Expand All

(-)/usr/src/crypto/openssh/sshconnect1.c (-1 / +1 lines)
Lines 744-752 Link Here
744
744
745
	rbits = BN_num_bits(host_key->n);
745
	rbits = BN_num_bits(host_key->n);
746
	if (bits != rbits) {
746
	if (bits != rbits) {
747
		if (rbits+1 != bits)
747
		log("Warning: Server lies about size of server host key: "
748
		log("Warning: Server lies about size of server host key: "
748
		    "actual size is %d bits vs. announced %d.", rbits, bits);
749
		    "actual size is %d bits vs. announced %d.", rbits, bits);
749
		log("Warning: This may be due to an old implementation of ssh.");
750
	}
750
	}
751
751
752
	/* Get protocol flags. */
752
	/* Get protocol flags. */

Return to bug 23286