mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Decryption using a Cryptoflex card does now work.
This commit is contained in:
parent
914e77c133
commit
303b4bd636
11 changed files with 305 additions and 30 deletions
|
@ -224,8 +224,9 @@ base64_reader_cb (void *cb_value, char *buffer, size_t count, size_t *nread)
|
|||
parm->linelen = parm->readpos = 0;
|
||||
}
|
||||
else if ( parm->have_lf && parm->line_counter == 1
|
||||
&& !strncmp (parm->line, "Content-Type:", 13))
|
||||
{ /* Might be a S/MIME body */
|
||||
&& parm->linelen >= 13
|
||||
&& !ascii_memcasecmp (parm->line, "Content-Type:", 13))
|
||||
{ /* might be a S/MIME body */
|
||||
parm->might_be_smime = 1;
|
||||
parm->linelen = parm->readpos = 0;
|
||||
goto next;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue