From 9ee9376568015d03231a9678fea42be7edd7a2a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Tue, 1 Oct 2002 16:02:54 +0200 Subject: [PATCH] Forward declare struct rsa_public_key and struct rsa_private_key, to avoid dependences on config.h. Rev: src/nettle/examples/io.h:1.2 --- examples/io.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/io.h b/examples/io.h index cecd8919..b7530f38 100644 --- a/examples/io.h +++ b/examples/io.h @@ -55,11 +55,12 @@ simple_random(struct yarrow256_ctx *ctx, const char *name); int hash_file(const struct nettle_hash *hash, void *ctx, FILE *f); -#if WITH_PUBLIC_KEY +struct rsa_public_key; +struct rsa_private_key; + int read_rsa_key(const char *name, struct rsa_public_key *pub, struct rsa_private_key *priv); -#endif #endif /* NETTLE_EXAMPLES_IO_H_INCLUDED */ -- GitLab