summaryrefslogtreecommitdiffstats
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:28 -0400
commit983023f28bff62b4462fd3575a86a8947ac592d8 (patch)
tree4bb0a779ff606b66d429d725108701b7cbf3f37d /include/keys
parent5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c (diff)
KEYS: Move x509_request_asymmetric_key() to asymmetric_type.c
Move x509_request_asymmetric_key() to asymmetric_type.c so that it can be generalised. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/keys')
-rw-r--r--include/keys/asymmetric-type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/keys/asymmetric-type.h b/include/keys/asymmetric-type.h
index d1e23dda4363..735db697c4d2 100644
--- a/include/keys/asymmetric-type.h
+++ b/include/keys/asymmetric-type.h
@@ -76,6 +76,11 @@ 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,
80 const struct asymmetric_key_id *id,
81 const struct asymmetric_key_id *skid,
82 bool partial);
83
79/* 84/*
80 * The payload is at the discretion of the subtype. 85 * The payload is at the discretion of the subtype.
81 */ 86 */