1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

--encrypt does now work for a hardwired key.

This commit is contained in:
Werner Koch 2001-12-10 19:18:27 +00:00
parent 79956a08e0
commit f312047a67
3 changed files with 423 additions and 105 deletions

View file

@ -43,7 +43,7 @@ struct decrypt_filter_parm_s {
int any_data; /* dod we push anything through the filter at all? */
unsigned char lastblock[16]; /* to strip the padding we have to
keep this one */
char helpblock[16]; /* needed because there is no block bufferin in
char helpblock[16]; /* needed because there is no block buffering in
libgcrypt (yet) */
int helpblocklen;
};
@ -141,7 +141,7 @@ prepare_decryption (const char *hexkeygrip, const char *enc_val,
}
/* This function is called by the KSab writer just before the actual
/* This function is called by the KSBA writer just before the actual
write is done. The function must take INLEN bytes from INBUF,
decrypt it and store it inoutbuf which has a maximum size of
maxoutlen. The valid bytes in outbuf should be return in outlen.