From 918ce7a084a86b05c3d772e3f66f47f21ae73033 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 13 Oct 2004 05:54:58 +0000 Subject: a few more ints to size_ts svn:r2461 --- src/common/crypto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/crypto.h') diff --git a/src/common/crypto.h b/src/common/crypto.h index 1828fb30a..33e4006c1 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -59,8 +59,8 @@ void crypto_free_cipher_env(crypto_cipher_env_t *env); /* public key crypto */ int crypto_pk_generate_key(crypto_pk_env_t *env); -int crypto_pk_write_public_key_to_string(crypto_pk_env_t *env, char **dest, int *len); -int crypto_pk_read_public_key_from_string(crypto_pk_env_t *env, const char *src, int len); +int crypto_pk_write_public_key_to_string(crypto_pk_env_t *env, char **dest, size_t *len); +int crypto_pk_read_public_key_from_string(crypto_pk_env_t *env, const char *src, size_t len); int crypto_pk_write_private_key_to_filename(crypto_pk_env_t *env, const char *fname); int crypto_pk_check_key(crypto_pk_env_t *env); int crypto_pk_read_private_key_from_filename(crypto_pk_env_t *env, const char *keyfile); -- cgit v1.2.3