diff options
author | Roger Dingledine <arma@torproject.org> | 2004-10-13 05:54:58 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-10-13 05:54:58 +0000 |
commit | 918ce7a084a86b05c3d772e3f66f47f21ae73033 (patch) | |
tree | d4fcc4a1c59417a53055bfd50c558d844a842752 /src/common/crypto.h | |
parent | a1041154ebd5b60a88ca0f9cd104b8719faa936f (diff) | |
download | tor-918ce7a084a86b05c3d772e3f66f47f21ae73033.tar.gz tor-918ce7a084a86b05c3d772e3f66f47f21ae73033.zip |
a few more ints to size_ts
svn:r2461
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index 1828fb30a1..33e4006c1c 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); |