mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 02:52:07 +00:00
Fix mistake in b64e invocation
This commit is contained in:
parent
b42e2e4932
commit
301ed7a798
@ -98,7 +98,7 @@ int getpasshmac(int argc, char* argv[]) {
|
||||
fwrite(cryptpass, 1, strlen(cryptpass), outfile);
|
||||
fclose(outfile);
|
||||
hmac_sha256(hmac, cryptpass, strlen(cryptpass), hmackey, hmackeysize);
|
||||
hmac64 = b64e(hmac);
|
||||
hmac64 = b64e(hmac, 32);
|
||||
outfile = fopen(argv[3], "w");
|
||||
fwrite(hmac64, 1, strlen(hmac64), outfile);
|
||||
fclose(outfile);
|
||||
|
Loading…
Reference in New Issue
Block a user