165 |
} |
} |
166 |
|
|
167 |
|
|
|
|
|
168 |
/* Extract the plaintext data from the escaped data object @sig. |
/* Extract the plaintext data from the escaped data object @sig. |
169 |
The plaintxt is stored in @r_plain. |
The plaintxt is stored in @r_plain. |
170 |
Return value: 0 on success. */ |
Return value: 0 on success. */ |
192 |
|
|
193 |
/* We just support 1 nesting level. */ |
/* We just support 1 nesting level. */ |
194 |
while (gpg_data_readline (sig, line, 128) > 0 ) { |
while (gpg_data_readline (sig, line, 128) > 0 ) { |
195 |
if (!strncmp( line, "-----BEGIN PGP SIGNATURE", 24)) |
if (!strncmp (line, "-----BEGIN PGP SIGNATURE", 24)) |
196 |
break; /* end of plaintext */ |
break; /* end of plaintext */ |
197 |
if (!strncmp (line, "- -", 3)) |
if (!strncmp (line, "- -", 3)) |
198 |
pos = 2; |
pos = 2; |