1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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:
nobu 2016-06-02 02:30:43 +00:00
parent 55cc1c618a
commit 9334bb3075

View file

@ -347,7 +347,7 @@ STATIC void init_perm(C_block perm[64/CHUNKBITS][1<<CHUNKBITS], unsigned char p[
#define init_des() ((void)0) #define init_des() ((void)0)
#endif #endif
static const C_block constdatablock = {}; /* encryption constant */ static const C_block constdatablock = {{0}}; /* encryption constant */
#define KS (data->KS) #define KS (data->KS)
#define cryptresult (data->cryptresult) #define cryptresult (data->cryptresult)