summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-sign-ed25519.h
diff options
context:
space:
mode:
authorDenis Pynkin <denis.pynkin@collabora.com>2019-10-06 23:40:04 +0300
committerDenis Pynkin <denis.pynkin@collabora.com>2020-03-25 15:23:54 +0300
commit95ab57c17ee2fcc93ee53b9a46ee6ed0a1c07b2b (patch)
treecaf5e27de946e99963e111472ea37e5e8878dab5 /src/libostree/ostree-sign-ed25519.h
parentea291a0605999242491fed982430c25aebbb2f9e (diff)
downloadostree-95ab57c17ee2fcc93ee53b9a46ee6ed0a1c07b2b.tar.gz
lib/sign-ed25519: cleanup unneeded code
Removed unused code. Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
Diffstat (limited to 'src/libostree/ostree-sign-ed25519.h')
-rw-r--r--src/libostree/ostree-sign-ed25519.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/src/libostree/ostree-sign-ed25519.h b/src/libostree/ostree-sign-ed25519.h
index eb8f6701..16da4828 100644
--- a/src/libostree/ostree-sign-ed25519.h
+++ b/src/libostree/ostree-sign-ed25519.h
@@ -41,19 +41,19 @@ G_DECLARE_FINAL_TYPE (OstreeSignEd25519,
gboolean ostree_sign_ed25519_data (OstreeSign *self,
- GBytes *data,
- GBytes **signature,
- GCancellable *cancellable,
- GError **error);
+ GBytes *data,
+ GBytes **signature,
+ GCancellable *cancellable,
+ GError **error);
const gchar * ostree_sign_ed25519_get_name (OstreeSign *self);
const gchar * ostree_sign_ed25519_metadata_key (OstreeSign *self);
const gchar * ostree_sign_ed25519_metadata_format (OstreeSign *self);
gboolean ostree_sign_ed25519_metadata_verify (OstreeSign *self,
- GBytes *data,
- GVariant *signatures,
- GError **error);
+ GBytes *data,
+ GVariant *signatures,
+ GError **error);
gboolean ostree_sign_ed25519_set_sk (OstreeSign *self,
GVariant *secret_key,
@@ -71,12 +71,5 @@ gboolean ostree_sign_ed25519_load_pk (OstreeSign *self,
GVariant *options,
GError **error);
-_OSTREE_PUBLIC
-gboolean ostree_sign_ed25519_keypair_generate (OstreeSign *self,
- GVariant **out_secret_key,
- GVariant **out_public_key,
- GError **error);
-
-
G_END_DECLS