From: Niels Möller Date: Tue, 1 Oct 2002 14:02:54 +0000 (+0200) Subject: Forward declare struct rsa_public_key and struct X-Git-Tag: nettle_1.6_release_20021003~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ee9376568015d03231a9678fea42be7edd7a2a3;p=thirdparty%2Fnettle.git 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 --- 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 */