crypt.c: fix syntax error on mswin
* missing/crypt.c (constdatablock): fix error on mswin. Visual C does not accept an empty initializer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
55cc1c618a
commit
9334bb3075
@ -347,7 +347,7 @@ STATIC void init_perm(C_block perm[64/CHUNKBITS][1<<CHUNKBITS], unsigned char p[
|
||||
#define init_des() ((void)0)
|
||||
#endif
|
||||
|
||||
static const C_block constdatablock = {}; /* encryption constant */
|
||||
static const C_block constdatablock = {{0}}; /* encryption constant */
|
||||
|
||||
#define KS (data->KS)
|
||||
#define cryptresult (data->cryptresult)
|
||||
|
Loading…
x
Reference in New Issue
Block a user