aboutsummaryrefslogtreecommitdiffstats
path: root/src/encpipe_p.h
diff options
context:
space:
mode:
authorGravatar Frank Denis <github@pureftpd.org>2017-12-31 14:20:35 +0100
committerGravatar Frank Denis <github@pureftpd.org>2017-12-31 14:36:01 +0100
commit360365cdaf843ea5f56af75b64bec8d39f34bf37 (patch)
tree51f132f4a1c8342bc7a663bae28b76d4efc58a6e /src/encpipe_p.h
parentaaca11ca8615e72aa0f281422df2614bb2f3e945 (diff)
downloadtweetpipe-360365cdaf843ea5f56af75b64bec8d39f34bf37.tar.gz
Add -P (read password from file) and -G (generate a password)
Diffstat (limited to 'src/encpipe_p.h')
-rw-r--r--src/encpipe_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encpipe_p.h b/src/encpipe_p.h
index 3ad1a73..98afe94 100644
--- a/src/encpipe_p.h
+++ b/src/encpipe_p.h
@@ -32,13 +32,13 @@
typedef struct Context_ {
char * in;
char * out;
- char * password;
unsigned char key[hydro_secretbox_KEYBYTES];
unsigned char *buf;
size_t sizeof_buf;
int fd_in;
int fd_out;
int encrypt;
+ int has_key;
} Context;
#endif