| 210 | }; |
| 211 | |
| 212 | static void replace_cstring(char **field, const char *line, const char *next) |
| 213 | { |
| 214 | free(*field); |
| 215 | |
| 216 | if (line && next) |
| 217 | *field = xmemdupz(line, next - line); |
| 218 | else |
| 219 | *field = NULL; |
| 220 | } |
| 221 | |
| 222 | static int parse_gpg_trust_level(const char *level, |
| 223 | enum signature_trust_level *res) |
no test coverage detected