| 126 | static struct gpg_format *use_format = &gpg_format[0]; |
| 127 | |
| 128 | static struct gpg_format *get_format_by_name(const char *str) |
| 129 | { |
| 130 | for (size_t i = 0; i < ARRAY_SIZE(gpg_format); i++) |
| 131 | if (!strcmp(gpg_format[i].name, str)) |
| 132 | return gpg_format + i; |
| 133 | return NULL; |
| 134 | } |
| 135 | |
| 136 | static struct gpg_format *get_format_by_sig(const char *sig) |
| 137 | { |
no outgoing calls
no test coverage detected