Skip to content

Fix pw_hash() on JRuby < 1.7.17#446

Merged
DavidS merged 1 commit intopuppetlabs:masterfrom
elyscape:fix_pw_hash
May 6, 2015
Merged

Fix pw_hash() on JRuby < 1.7.17#446
DavidS merged 1 commit intopuppetlabs:masterfrom
elyscape:fix_pw_hash

Conversation

@elyscape
Copy link
Copy Markdown
Contributor

@elyscape elyscape commented May 5, 2015

The previous change to this function broke it on JRuby before 1.7.17 by
attempting to use a variable that wasn't defined (salt). To fix this,
define salt ahead of time and use that instead of building the salt
later.

cf. #443 (comment)

The previous change to this function broke it on JRuby before 1.7.17 by
attempting to use a variable that wasn't defined (`salt`). To fix this,
define `salt` ahead of time and use that instead of building the salt
later.

cf. puppetlabs#443 (comment)
@DavidS
Copy link
Copy Markdown
Contributor

DavidS commented May 6, 2015

Thanks for catching that.

DavidS added a commit that referenced this pull request May 6, 2015
Fix pw_hash() on JRuby < 1.7.17
@DavidS DavidS merged commit 20669e3 into puppetlabs:master May 6, 2015
@elyscape elyscape deleted the fix_pw_hash branch May 6, 2015 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants