Fix typo setting up certificate masks
authorMatt Caswell <matt@openssl.org>
Fri, 22 May 2015 12:48:49 +0000 (13:48 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 22 May 2015 23:01:48 +0000 (00:01 +0100)
commite4731f76e2dc2a36e62522a4ec115880ba7dfc1f
treeadda95a16be8bfa327b8e151c3d208550078149b
parent595487ea1978d65ca8db7b1c4990fc8c4f781399
Fix typo setting up certificate masks

The certificate masks are used to select which ciphersuite we are going to
use. The variables |emask_k| and |emask_a| relate to export grade key
exchange and authentication respecitively. The variables |mask_k| and
|mask_a| are the equivalent versions for non-export grade. This fixes an
instance where the two usages of export/non-export were mixed up. In
practice it makes little difference since it still works!

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit fdfe8b06ae97da3bc3a77aa3db00f8e0445f3c70)
ssl/ssl_lib.c