diff options
author | Jack Magne <jmagne@localhost.localdomain> | 2015-08-18 16:50:50 -0700 |
---|---|---|
committer | Jack Magne <jmagne@localhost.localdomain> | 2015-08-18 17:06:24 -0700 |
commit | 6260a6d20c113343dd04cdbed999865ebc1650c9 (patch) | |
tree | a4d9fba7f4759e20c3e805b6b634fd8afa118317 /base/native-tools/src | |
parent | 272f94e5f746eafda5110d3622c1b969662c6168 (diff) | |
download | pki-6260a6d20c113343dd04cdbed999865ebc1650c9.tar.gz pki-6260a6d20c113343dd04cdbed999865ebc1650c9.tar.xz pki-6260a6d20c113343dd04cdbed999865ebc1650c9.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.
Diffstat (limited to 'base/native-tools/src')
-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 ); |