diff options
author | Werner Koch <wk@gnupg.org> | 2001-12-10 20:18:27 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2001-12-10 20:18:27 +0100 |
commit | f312047a6773c7d0f6c095656f338f91772df9d2 (patch) | |
tree | 338c883e4bcee75f1884b565700f8db389fd3ba4 /sm/decrypt.c | |
parent | The Agent does now call the pin entry program; however because we have (diff) | |
download | gnupg2-f312047a6773c7d0f6c095656f338f91772df9d2.tar.xz gnupg2-f312047a6773c7d0f6c095656f338f91772df9d2.zip |
--encrypt does now work for a hardwired key.
Diffstat (limited to 'sm/decrypt.c')
-rw-r--r-- | sm/decrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/decrypt.c b/sm/decrypt.c index 1a18bf8d5..491828898 100644 --- a/sm/decrypt.c +++ b/sm/decrypt.c @@ -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. |