Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 684308 | Differences between
and this patch

Collapse All | Expand All

(-)Net-SSLeay-1.82/SSLeay.xs (-2 / +2 lines)
Lines 5477-5486 Link Here
5477
	const EVP_MD *h;
5477
	const EVP_MD *h;
5478
	int md_size = -1;
5478
	int md_size = -1;
5479
	c = s->enc_read_ctx->cipher;
5479
	c = s->enc_read_ctx->cipher;
5480
#if OPENSSL_VERSION_NUMBER >= 0x10001000L
5480
#if ((OPENSSL_VERSION_NUMBER >= 0x10001000L && !defined(LIBRESSL_VERSION_NUMBER)) || (!defined(OPENSSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER > 0x2090000L ))
5481
	if (s->s3)
5481
	if (s->s3)
5482
	    md_size = s->s3->tmp.new_mac_secret_size;
5482
	    md_size = s->s3->tmp.new_mac_secret_size;
5483
#elif OPENSSL_VERSION_NUMBER >= 0x00909000L
5483
#elif OPENSSL_VERSION_NUMBER >= 0x00909000L && !defined(LIBRESSL_VERSION_NUMBER)
5484
	h = EVP_MD_CTX_md(s->read_hash);
5484
	h = EVP_MD_CTX_md(s->read_hash);
5485
	md_size = EVP_MD_size(h);
5485
	md_size = EVP_MD_size(h);
5486
#else
5486
#else

Return to bug 684308