]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - crypt_common.c
stream cipher: Allow in-place encryption.
[paraslash.git] / crypt_common.c
index 3bd603c0ec698ab6be9c3e48d99e7a76e52c53f0..a2f682687928dd2cee0f603e98e56f1bf3c9534f 100644 (file)
@@ -325,7 +325,7 @@ int sc_recv_buffer(struct stream_cipher_context *scc, char *buf, size_t size)
  *
  * \return The return value of the underyling call to sc_send_bin_buffer().
  */
-int sc_send_buffer(struct stream_cipher_context *scc, const char *buf)
+int sc_send_buffer(struct stream_cipher_context *scc, char *buf)
 {
        return sc_send_bin_buffer(scc, buf, strlen(buf));
 }