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

crypt.h: remove initialized

* missing/crypt.h (struct crypt_data): remove unnecessary member
  "initialized".
* missing/crypt.c (des_setkey_r): nothing to be initialized in
  crypt_data.
* configure.in (struct crypt_data): check for "initialized" in
  struct crypt_data, which may be only in glibc, and isn't on AIX
  at least.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-06-04 01:54:54 +00:00
parent 200d4afd44
commit 40c3c3ec6c
6 changed files with 38 additions and 16 deletions

View file

@ -224,7 +224,6 @@ struct crypt_data {
/* ==================================== */
char cryptresult[1+4+4+11+1]; /* encrypted result */
int initialized;
};
char *crypt(const char *key, const char *setting);