summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorHassan Alsibyani <sibyani@mit.edu>2016-02-06 12:14:39 -0500
committerHassan Alsibyani <sibyani@mit.edu>2016-02-06 12:14:39 -0500
commitedd93f9de8aedec41afc7f6472ab381bc34d0246 (patch)
treee70f7eb5b23a3eb9881d459a851f8fce84b45c66 /src/common/crypto.h
parent1f5cdf2b6c72ae89eea630a2c4693273ff1aee6c (diff)
downloadtor-edd93f9de8aedec41afc7f6472ab381bc34d0246.tar.gz
tor-edd93f9de8aedec41afc7f6472ab381bc34d0246.zip
changing output of crypto_cipher_crypt_inplace from int to void
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index fa2ed610c7..74b88bcd4a 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -205,7 +205,7 @@ int crypto_cipher_encrypt(crypto_cipher_t *env, char *to,
const char *from, size_t fromlen);
int crypto_cipher_decrypt(crypto_cipher_t *env, char *to,
const char *from, size_t fromlen);
-int crypto_cipher_crypt_inplace(crypto_cipher_t *env, char *d, size_t len);
+void crypto_cipher_crypt_inplace(crypto_cipher_t *env, char *d, size_t len);
int crypto_cipher_encrypt_with_iv(const char *key,
char *to, size_t tolen,