aboutsummaryrefslogtreecommitdiff
path: root/gpg.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-12-30 19:00:32 +0530
committersinanmohd <sinan@sinanmohd.com>2023-12-30 19:00:46 +0530
commit7960f6b6d80d64001282b7b0b43c0195645cc35c (patch)
tree99db4218323383fbea99faccfed2b67fcd9735f3 /gpg.h
parent1a56879bb29e307bd6b00e250e67597235fa0adf (diff)
pass: support unlimited password length
Diffstat (limited to 'gpg.h')
-rw-r--r--gpg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpg.h b/gpg.h
index eda5e72..f5053bf 100644
--- a/gpg.h
+++ b/gpg.h
@@ -2,5 +2,5 @@
#include <sys/types.h>
int gpg_key_validate(const char *fpr);
-int gpg_decrypt(const char *path, char *pass_out, size_t n);
+int gpg_decrypt(FILE *pass_out, const char *pass_path);
int gpg_encrypt(FILE *stream, const char *fpr, const char *pass, size_t n);