diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-07-21 00:44:04 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-07-21 00:44:04 +0000 |
commit | 334de84cbe47944b52b004f0a7e3c4125c8b732b (patch) | |
tree | d7c23fcdec965e096178abf945214914d4c6e4c7 /src/common/tortls.h | |
parent | 99926813b1a8b29f712f0e9ea3c8c3bfa0aba56b (diff) | |
download | tor-334de84cbe47944b52b004f0a7e3c4125c8b732b.tar.gz tor-334de84cbe47944b52b004f0a7e3c4125c8b732b.zip |
Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify behavior
svn:r2073
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 f9ffb0edc0..02dbeb7a7d 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -28,7 +28,7 @@ tor_tls *tor_tls_new(int sock, int isServer); void tor_tls_free(tor_tls *tls); int tor_tls_peer_has_cert(tor_tls *tls); int tor_tls_get_peer_cert_nickname(tor_tls *tls, char *buf, int buflen); -int tor_tls_verify(tor_tls *tls, crypto_pk_env_t *identity); +int tor_tls_verify(tor_tls *tls, crypto_pk_env_t **identity); int tor_tls_read(tor_tls *tls, char *cp, int len); int tor_tls_write(tor_tls *tls, char *cp, int n); int tor_tls_handshake(tor_tls *tls); |