]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - crypt.c
stream cipher: Allow in-place encryption.
[paraslash.git] / crypt.c
diff --git a/crypt.c b/crypt.c
index 7b602d995d3deccaba5e2e6ab76f4dec5570c95b..2dc15461705cdd535da871fbf2c3bfc607367d4d 100644 (file)
--- a/crypt.c
+++ b/crypt.c
@@ -365,7 +365,7 @@ void sc_free(struct stream_cipher *sc)
  *
  * \sa \ref write_all(), RC4(3).
  */
-int sc_send_bin_buffer(struct stream_cipher_context *scc, const char *buf,
+int sc_send_bin_buffer(struct stream_cipher_context *scc, char *buf,
                size_t len)
 {
        int ret;