diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-01-30 22:19:41 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-01-30 22:19:41 +0000 |
commit | 76f896e7145ac85b354ad603794f569b20ca85c8 (patch) | |
tree | a3da57ca81cfda646587f3e62c18e63913d7d585 /src/common/tortls.h | |
parent | 1894e7ea01154d91c3842926a71ae32843264a24 (diff) | |
download | tor-76f896e7145ac85b354ad603794f569b20ca85c8.tar.gz tor-76f896e7145ac85b354ad603794f569b20ca85c8.zip |
r11607@catbus: nickm | 2007-01-30 17:19:27 -0500
Audit non-const char arguments; make a lot more of them const.
svn:r9466
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index e2b738da4b..50e798cc22 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -55,7 +55,7 @@ int tor_tls_get_peer_cert_nickname(int severity, tor_tls_t *tls, int tor_tls_verify(int severity, tor_tls_t *tls, crypto_pk_env_t **identity); int tor_tls_check_lifetime(tor_tls_t *tls, int tolerance); int tor_tls_read(tor_tls_t *tls, char *cp, size_t len); -int tor_tls_write(tor_tls_t *tls, char *cp, size_t n); +int tor_tls_write(tor_tls_t *tls, const char *cp, size_t n); int tor_tls_handshake(tor_tls_t *tls); int tor_tls_shutdown(tor_tls_t *tls); int tor_tls_get_pending_bytes(tor_tls_t *tls); |