| 52 | } |
| 53 | |
| 54 | static void credential_set_capability(struct credential_capability *capa, |
| 55 | enum credential_op_type op_type) |
| 56 | { |
| 57 | switch (op_type) { |
| 58 | case CREDENTIAL_OP_INITIAL: |
| 59 | capa->request_initial = 1; |
| 60 | break; |
| 61 | case CREDENTIAL_OP_HELPER: |
| 62 | capa->request_helper = 1; |
| 63 | break; |
| 64 | case CREDENTIAL_OP_RESPONSE: |
| 65 | capa->response = 1; |
| 66 | break; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | |
| 71 | void credential_set_all_capabilities(struct credential *c, |
no outgoing calls
no test coverage detected