mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
2010-04-23 Marcus Brinkmann <marcus@g10code.de>
* certreqgen.c (read_parameters): Use ascii_isspace instead of spacep to stop at newline, too.
This commit is contained in:
parent
2bb69bb80b
commit
c86a59db74
@ -1,3 +1,8 @@
|
|||||||
|
2010-04-23 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* certreqgen.c (read_parameters): Use ascii_isspace instead of
|
||||||
|
spacep to stop at newline, too.
|
||||||
|
|
||||||
2010-04-14 Werner Koch <wk@g10code.com>
|
2010-04-14 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* gpgsm.c (main) [W32CE]: Disable dirmngr for now.
|
* gpgsm.c (main) [W32CE]: Disable dirmngr for now.
|
||||||
|
@ -294,11 +294,11 @@ read_parameters (ctrl_t ctrl, estream_t fp, ksba_writer_t writer)
|
|||||||
keyword = p;
|
keyword = p;
|
||||||
if (*keyword == '%')
|
if (*keyword == '%')
|
||||||
{
|
{
|
||||||
for (; *p && !spacep (p); p++)
|
for (; *p && !ascii_isspace (*p); p++)
|
||||||
;
|
;
|
||||||
if (*p)
|
if (*p)
|
||||||
*p++ = 0;
|
*p++ = 0;
|
||||||
for (; spacep (p); p++)
|
for (; ascii_isspace (*p); p++)
|
||||||
;
|
;
|
||||||
value = p;
|
value = p;
|
||||||
trim_trailing_spaces (value);
|
trim_trailing_spaces (value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user