Session rekeying support in OpenSSH

Damien Miller djm at mindrot.org
Wed May 15 14:38:47 EST 2013


On Wed, 15 May 2013, Darren Tucker wrote:

> +	 		switch (toupper(*endofnumber)) {
> +			case '\0':
> +				scale = 1;
> +				break;
> +			case 'K':
> +				scale = 1<<10;
> +				break;
> +			case 'M':
> +				scale = 1<<20;
> +				break;
> +			case 'G':
> +				scale = 1<<30;
> +				break;

Good opportunity to switch to scan_scaled()?

-d


More information about the openssh-unix-dev mailing list