[openssl-commits] [openssl] master update

Emilia Kasper emilia at openssl.org
Tue Jun 28 15:23:18 UTC 2016


The branch master has been updated
       via  2cdce3e32f0f70470d676352410557b626bc9d01 (commit)
      from  b8bbd8b1bd4a75369dba985e51a9bf726ef10536 (commit)


- Log -----------------------------------------------------------------
commit 2cdce3e32f0f70470d676352410557b626bc9d01
Author: Emilia Kasper <emilia at openssl.org>
Date:   Tue Jun 28 13:28:57 2016 +0200

    base64 macro: parenthesize for clarity
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/evp/encode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/evp/encode.c b/crypto/evp/encode.c
index e026a8f..d140da6 100644
--- a/crypto/evp/encode.c
+++ b/crypto/evp/encode.c
@@ -55,7 +55,7 @@ abcdefghijklmnopqrstuvwxyz0123456789+/";
 #define B64_WS                  0xE0
 #define B64_ERROR               0xFF
 #define B64_NOT_BASE64(a)       (((a)|0x13) == 0xF3)
-#define B64_BASE64(a)           !B64_NOT_BASE64(a)
+#define B64_BASE64(a)           (!B64_NOT_BASE64(a))
 
 static const unsigned char data_ascii2bin[128] = {
     0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,


More information about the openssl-commits mailing list