[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] remove another unused function
Update of /home2/or/cvsroot/tor/src/common
In directory moria:/home/arma/work/onion/cvs/tor/src/common
Modified Files:
crypto.c
Log Message:
remove another unused function
Index: crypto.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/crypto.c,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -d -r1.178 -r1.179
--- crypto.c 30 Nov 2005 06:27:58 -0000 1.178
+++ crypto.c 30 Nov 2005 22:19:02 -0000 1.179
@@ -1205,16 +1205,6 @@
return 0;
}
-/** Move the position of the cipher stream forwards by <b>delta</b> bytes.
- * Return 0 on success, -1 on failure.
- */
-int
-crypto_cipher_advance(crypto_cipher_env_t *env, long delta)
-{
- aes_adjust_counter(env->cipher, delta);
- return 0;
-}
-
/* SHA-1 */
/** Compute the SHA1 digest of <b>len</b> bytes in data stored in