RT1815: More const'ness improvements
Add a dozen more const declarations where appropriate. These are from Justin; while adding his patch, I noticed ASN1_BIT_STRING_check could be fixed, too. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
This commit is contained in:
committed by
Rich Salz
parent
defe438d47
commit
f756fb430e
@@ -140,7 +140,7 @@
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/md5.h>
|
||||
|
||||
static unsigned char ssl3_pad_1[48]={
|
||||
static const unsigned char ssl3_pad_1[48]={
|
||||
0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36,
|
||||
0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36,
|
||||
0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36,
|
||||
@@ -148,7 +148,7 @@ static unsigned char ssl3_pad_1[48]={
|
||||
0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36,
|
||||
0x36,0x36,0x36,0x36,0x36,0x36,0x36,0x36 };
|
||||
|
||||
static unsigned char ssl3_pad_2[48]={
|
||||
static const unsigned char ssl3_pad_2[48]={
|
||||
0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,
|
||||
0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,
|
||||
0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,
|
||||
|
||||
Reference in New Issue
Block a user