aboutsummaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-04-06 11:14:25 -0400
committerDavid Howells <dhowells@redhat.com>2016-04-11 17:41:56 -0400
commit9eb029893ad5bf9303ed7f145860b312cbe5f889 (patch)
treed68958292bb88d58bbd653bbbdd5b17debba78b0 /include/keys
parent983023f28bff62b4462fd3575a86a8947ac592d8 (diff)
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)
76 return key->payload.data[asym_key_ids]; 76 return key->payload.data[asym_key_ids];
77} 77}
78 78
79extern struct key *x509_request_asymmetric_key(struct key *keyring, 79extern struct key *find_asymmetric_key(struct key *keyring,
80 const struct asymmetric_key_id *id, 80 const struct asymmetric_key_id *id_0,
81 const struct asymmetric_key_id *skid, 81 const struct asymmetric_key_id *id_1,
82 bool partial); 82 bool partial);
83 83
84/* 84/*
85 * The payload is at the discretion of the subtype. 85 * The payload is at the discretion of the subtype.