]> granicus.if.org Git - openssl/commitdiff
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 fb092813e71a834934d1047b5a6dd539bbb76aaf..c3bf50987cfed1f8da54e7e4129b2c0901a1abd1 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)