diff options
author | Jack Magne <jmagne@localhost.localdomain> | 2015-08-18 16:50:50 -0700 |
---|---|---|
committer | Matthew Harmsen <mharmsen@redhat.com> | 2015-08-19 16:57:24 -0600 |
commit | bcf2c5677ea4ca1afd10ea9e00dc2b692a57d18b (patch) | |
tree | b4b5a4ea6a9c561b617d0b19bf65da7fdb0ae465 /base | |
parent | 67c895851781d69343979cbcff138184803880ea (diff) | |
download | pki-bcf2c5677ea4ca1afd10ea9e00dc2b692a57d18b.tar.gz pki-bcf2c5677ea4ca1afd10ea9e00dc2b692a57d18b.tar.xz pki-bcf2c5677ea4ca1afd10ea9e00dc2b692a57d18b.zip |
Minor fix to "setpin" fix.
The routine that sets the password of the "pinmanager" user was
not working. A very simple one character fix takes care of it.
Ticket # 1546 - Setpin utility doesn't set the pin for users.
Checking in under the one line trivial change rule.
(cherry picked from commit 6260a6d20c113343dd04cdbed999865ebc1650c9)
Diffstat (limited to 'base')
-rw-r--r-- | base/native-tools/src/setpin/setpin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/native-tools/src/setpin/setpin.c b/base/native-tools/src/setpin/setpin.c index a16471908..ab1fc6326 100644 --- a/base/native-tools/src/setpin/setpin.c +++ b/base/native-tools/src/setpin/setpin.c @@ -548,7 +548,7 @@ sha256_pw_enc( char *pwd ) sprintf( enc, "{SHA256}"); - (void)ldif_base64_encode( hash, enc + 5, + (void)ldif_base64_encode( hash, enc + 8, SHA256_LENGTH, -1 ); return( enc ); |