Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/crypto/external/bsd/openssh/dist



On Sun, Feb 04, 2018 at 07:13:50PM -0500, Christos Zoulas wrote:
> -		return BN_num_bits(k->rsa->n);
> +#if OPENSSL_VERSION_NUMBER >= 0x10100000UL
> +		return RSA_bits(k->rsa);
> +#else
> +		return BN_num_bits(k->rsa->p);
> +#endif
>  	case KEY_DSA:
>  	case KEY_DSA_CERT:
> +#if OPENSSL_VERSION_NUMBER >= 0x10100000UL
> +		return DSA_bits(k->dsa);
> +#else
>  		return BN_num_bits(k->dsa->p);
> +#endif

you put RSA_bits in openssl.old, can use it directly instead of macros?


Home | Main Index | Thread Index | Old Index