mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-01-03 23:19:56 +01:00
Fix some encryption typos
This commit is contained in:
parent
f8661d4356
commit
9f5498b6d3
|
|
@ -63,7 +63,7 @@ typedef enum {
|
|||
|
||||
typedef void (*Lrzip_Info_Cb)(void *data, int pct, int chunk_pct);
|
||||
typedef void (*Lrzip_Log_Cb)(void *data, unsigned int level, unsigned int line, const char *file, const char *format, va_list args);
|
||||
typedef void (*Lrzip_Password_Cb)(void *, char **, size_t);
|
||||
typedef void (*Lrzip_Password_Cb)(void *, char *, size_t);
|
||||
|
||||
bool lrzip_init(void);
|
||||
void lrzip_config_env(Lrzip *lr);
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ static int get_pass(char *s, size_t slen)
|
|||
return len;
|
||||
}
|
||||
|
||||
static void pass_cb(void *data __UNUSED__, char **pass_string, size_t pass_len)
|
||||
static void pass_cb(void *data __UNUSED__, char *pass_string, size_t pass_len)
|
||||
{
|
||||
int len;
|
||||
struct termios termios_p;
|
||||
|
|
@ -101,7 +101,7 @@ static void pass_cb(void *data __UNUSED__, char **pass_string, size_t pass_len)
|
|||
tcsetattr(fileno(stdin), 0, &termios_p);
|
||||
|
||||
printf("Enter passphrase: ");
|
||||
len = get_pass(*pass_string, pass_len);
|
||||
len = get_pass(pass_string, pass_len);
|
||||
printf("\n");
|
||||
|
||||
if (len < 1) exit(1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue