summaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-04-06 16:14:25 +0100
committerDavid Howells <dhowells@redhat.com>2016-04-11 22:41:56 +0100
commit9eb029893ad5bf9303ed7f145860b312cbe5f889 (patch)
treed68958292bb88d58bbd653bbbdd5b17debba78b0 /include/keys
parent983023f28bff62b4462fd3575a86a8947ac592d8 (diff)
downloadlinux-stable-9eb029893ad5bf9303ed7f145860b312cbe5f889.tar.gz
linux-stable-9eb029893ad5bf9303ed7f145860b312cbe5f889.tar.bz2
linux-stable-9eb029893ad5bf9303ed7f145860b312cbe5f889.zip
KEYS: Generalise x509_request_asymmetric_key()
Generalise x509_request_asymmetric_key(). It doesn't really have any dependencies on X.509 features as it uses generalised IDs and the public_key structs that contain data extracted from X.509. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/keys')
-rw-r--r--include/keys/asymmetric-type.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/keys/asymmetric-type.h b/include/keys/asymmetric-type.h
index 735db697c4d2..b38240716d41 100644
--- a/include/keys/asymmetric-type.h
+++ b/include/keys/asymmetric-type.h
@@ -76,10 +76,10 @@ const struct asymmetric_key_ids *asymmetric_key_ids(const struct key *key)
return key->payload.data[asym_key_ids];
}
-extern struct key *x509_request_asymmetric_key(struct key *keyring,
- const struct asymmetric_key_id *id,
- const struct asymmetric_key_id *skid,
- bool partial);
+extern struct key *find_asymmetric_key(struct key *keyring,
+ const struct asymmetric_key_id *id_0,
+ const struct asymmetric_key_id *id_1,
+ bool partial);
/*
* The payload is at the discretion of the subtype.