Преглед на файлове

remove another unused function

svn:r5477
Roger Dingledine преди 20 години
родител
ревизия
923ad87470
променени са 1 файла, в които са добавени 0 реда и са изтрити 10 реда
  1. 0 10
      src/common/crypto.c

+ 0 - 10
src/common/crypto.c

@@ -1205,16 +1205,6 @@ crypto_cipher_decrypt(crypto_cipher_env_t *env, char *to,
   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