aboutsummaryrefslogtreecommitdiff
path: root/include/keys/asymmetric-subtype.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-04-12 20:10:19 +0100
committerDavid Howells <dhowells@redhat.com>2016-04-12 20:10:19 +0100
commitb6e17c1be75c796b37d01d058ae17387f043e495 (patch)
treeb28635b7a29c43c9773cecf6f9eca46db5a71ed5 /include/keys/asymmetric-subtype.h
parent6e007f3186e398ec4e3b6d4f1c22740d9dc2715e (diff)
parentad3043fda39db0361d9601685356db4512e914be (diff)
Merge branch 'keys-sig' into keys-next
These commits do the following: (1) Retain a signature in an asymmetric-type key and associate with it the identifiers that will match a key that can be used to verify it. (2) Differentiate an X.509 cert that cannot be used versus one that cannot be verified due to unavailable crypto. This is noted in the structures involved. (3) Determination of the self-signedness of an X.509 cert is improved to include checks on the subject/issuer names and the key algorithm/signature algorithm types. (4) Self-signed X.509 certificates are consistency checked early on if the appropriate crypto is available. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/keys/asymmetric-subtype.h')
-rw-r--r--include/keys/asymmetric-subtype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/keys/asymmetric-subtype.h b/include/keys/asymmetric-subtype.h
index 4915d40d3c3c..2480469ce8fb 100644
--- a/include/keys/asymmetric-subtype.h
+++ b/include/keys/asymmetric-subtype.h
@@ -32,7 +32,7 @@ struct asymmetric_key_subtype {
void (*describe)(const struct key *key, struct seq_file *m);
/* Destroy a key of this subtype */
- void (*destroy)(void *payload);
+ void (*destroy)(void *payload_crypto, void *payload_auth);
/* Verify the signature on a key of this subtype (optional) */
int (*verify_signature)(const struct key *key,