Commit 9ee93765 authored by Niels Möller's avatar Niels Möller
Browse files

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
parent a66628b1
...@@ -55,11 +55,12 @@ simple_random(struct yarrow256_ctx *ctx, const char *name); ...@@ -55,11 +55,12 @@ simple_random(struct yarrow256_ctx *ctx, const char *name);
int int
hash_file(const struct nettle_hash *hash, void *ctx, FILE *f); hash_file(const struct nettle_hash *hash, void *ctx, FILE *f);
#if WITH_PUBLIC_KEY struct rsa_public_key;
struct rsa_private_key;
int int
read_rsa_key(const char *name, read_rsa_key(const char *name,
struct rsa_public_key *pub, struct rsa_public_key *pub,
struct rsa_private_key *priv); struct rsa_private_key *priv);
#endif
#endif /* NETTLE_EXAMPLES_IO_H_INCLUDED */ #endif /* NETTLE_EXAMPLES_IO_H_INCLUDED */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment