Commit 03ebf85f authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix SRP ciphersuites.



Add patch missed from backport of SRP ciphersuite fix.
PR#3490
Reviewed-by: default avatarKurt Roeckx <kurt@openssl.org>
parent 30fbe92c
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -3822,8 +3822,13 @@ SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt,
		emask_k = cert->export_mask_k;
		emask_a = cert->export_mask_a;
#ifndef OPENSSL_NO_SRP
		mask_k=cert->mask_k | s->srp_ctx.srp_Mask;
		emask_k=cert->export_mask_k | s->srp_ctx.srp_Mask;
		if (s->srp_ctx.srp_Mask & SSL_kSRP)
			{
			mask_k |= SSL_kSRP;
			emask_k |= SSL_kSRP;
			mask_a |= SSL_aSRP;
			emask_a |= SSL_aSRP;
			}
#endif

#ifdef KSSL_DEBUG