FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix building on FreeBSD 12 by meanphil · Pull Request #232 · bcrypt-ruby/bcrypt-ruby · GitHub

Repository navigation

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .c  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 2 additions & 0 deletions ext/mri/wrapper.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ char *crypt_ra(const char *key, const char *setting,
return _crypt_blowfish_rn(key, setting, (char *)*data, *size);
}

#ifndef __SKIP_GNU
char *crypt_r(const char *key, const char *setting, void *data)
{
return _crypt_retval_magic(
Expand All @@ -194,6 +195,7 @@ char *crypt(const char *key, const char *setting)
crypt_rn(key, setting, output, sizeof(output)),
setting, output, sizeof(output));
}
#endif

#define __crypt_gensalt_rn crypt_gensalt_rn
#define __crypt_gensalt_ra crypt_gensalt_ra
Expand Down

Back | FazBrowse Home | New Git URL