diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-01 00:52:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-01 00:52:59 +0000 |
commit | 6593e0fe54a08d2b19840b69c2dae326ed9e2582 (patch) | |
tree | 685c3c53ae36633a498b9b76166daf4cee351492 | |
parent | 3c31685e1117e93ef7186feecfdea665df3cfb66 (diff) | |
download | ruby-6593e0fe54a08d2b19840b69c2dae326ed9e2582.tar.gz |
crypt_r.c: adjust style
* missing/crypt_r.c: adjust style to BSD as the original.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | missing/crypt_r.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/missing/crypt_r.c b/missing/crypt_r.c index b3faaa62c7..67dd50f062 100644 --- a/missing/crypt_r.c +++ b/missing/crypt_r.c @@ -313,7 +313,7 @@ static struct crypt_data default_crypt_data; char * crypt(const char *key, const char *setting) { - return crypt_r(key, setting, &default_crypt_data); + return crypt_r(key, setting, &default_crypt_data); } /* @@ -413,7 +413,7 @@ crypt_r(const char *key, const char *setting, struct crypt_data *data) void des_setkey(const char *key) { - des_setkey_r(key, &default_crypt_data); + des_setkey_r(key, &default_crypt_data); } void @@ -452,7 +452,7 @@ des_setkey_r(const char *key, struct crypt_data *data) void des_cipher(const char *in, char *out, long salt, int num_iter) { - des_cipher_r(in, out, salt, num_iter, &default_crypt_data); + des_cipher_r(in, out, salt, num_iter, &default_crypt_data); } void @@ -740,7 +740,7 @@ init_perm(C_block perm[64/CHUNKBITS][1<<CHUNKBITS], void setkey(const char *key) { - setkey_r(key, &default_crypt_data); + setkey_r(key, &default_crypt_data); } void @@ -766,7 +766,7 @@ setkey_r(const char *key, struct crypt_data *data) void encrypt(char *block, int flag) { - encrypt_r(block, flag, &default_crypt_data); + encrypt_r(block, flag, &default_crypt_data); } void |