mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
rewrote z85 decoder, uses Buffer* class now
This commit is contained in:
@@ -263,13 +263,13 @@ int main (int argc, char **argv) {
|
||||
|
||||
|
||||
sodium_init(); /* FIXME: better called from the lib? */
|
||||
errno = 0; /* FIXME: workaround for https://github.com/jedisct1/libsodium/issues/114 */
|
||||
|
||||
if(mode == PCP_MODE_ENCRYPT && useid == 0 && userec == 0) {
|
||||
usevault = 0;
|
||||
mode = PCP_MODE_ENCRYPT_ME;
|
||||
}
|
||||
|
||||
|
||||
if(argc >= 1) {
|
||||
/* ok, there are arguments left on the commandline.
|
||||
treat it as filename or recipient, depending on
|
||||
@@ -333,7 +333,6 @@ int main (int argc, char **argv) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* check if there's some enviroment we could use */
|
||||
if(usevault == 1) {
|
||||
char *_vaultfile = getenv("PCP_VAULT");
|
||||
|
||||
Reference in New Issue
Block a user