aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 7ef0ffca7..7f18eb601 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -254,12 +254,14 @@ struct server_control_s
/* Information on the currently used digest (for signing commands). */
struct {
char *data; /* NULL or malloced data of length VALUELEN. If
- this is set The other fields are ignored. Used
- for PureEdDSA. */
+ this is set the other fields are ignored. Used
+ for PureEdDSA and RSA with PSS (in which case
+ data_is_pss is also set). */
int valuelen;
int algo;
unsigned char value[MAX_DIGEST_LEN];
- int raw_value: 1;
+ unsigned int raw_value: 1;
+ unsigned int is_pss: 1; /* DATA holds PSS formated data. */
} digest;
unsigned char keygrip[20];
int have_keygrip;