[Verse-dev] Bug in v_send_hidden_connect_login, clearing the LSB of RSA data.

Alexander Boström abo at kth.se
Thu May 3 21:32:44 CEST 2007


In v_send_hidden_connect_login:

	/* Make sure last (MSB) byte is clear, to guarantee that data < key for RSA math. */
	name_pass[sizeof name_pass - 1] = 0;

I think it's the LSByte that is cleared here, and the reason it works
anyway is that the MSB contains an ASCII value.

/abo



More information about the Verse-dev mailing list