Small typo, `mask' got the same value ORed to it twice instead of
authorRichard Levitte <levitte@openssl.org>
Wed, 12 Jan 2005 16:40:48 +0000 (16:40 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 12 Jan 2005 16:40:48 +0000 (16:40 +0000)
`mask' and `emask' getting that operation done once each.

Patch supplied by Nils Larsch <nils.larsch@cybertrust.com>

ssl/ssl_lib.c

index fb09281..c3bf509 100644 (file)
@@ -1602,7 +1602,7 @@ void ssl_set_cert_masks(CERT *c, SSL_CIPHER *cipher)
        if (rsa_enc || rsa_sign)
                {
                mask|=SSL_aRSA;
-               mask|=SSL_aRSA;
+               emask|=SSL_aRSA;
                }
 
        if (dsa_sign)