Skip to content
Snippets Groups Projects
Commit 1ef13494 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix taint check in old password.

parent f0870a32
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,10 @@ if (defined($options{"c"}) || defined($options{"C"})) {
if (defined($options{"c"})) {
$old_password = $options{"c"};
}
elsif ($target_user->SSLPassPhrase(1, \$old_password) == 0) {
elsif ($target_user->SSLPassPhrase(1, \$old_password)) {
$old_password = undef;
}
if (defined($old_password)) {
#
# Make sure its all escaped since any printable char is allowed.
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment