diff options
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index 295d1502c3..2f45c4da33 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -20,8 +20,8 @@ int tor_tls_write_certificate(char *certfile, crypto_pk_env_t *rsa, char *nickna int tor_tls_context_new(char *certfile, crypto_pk_env_t *rsa, int isServer); tor_tls *tor_tls_new(int sock, int isServer); void tor_tls_free(tor_tls *tls); -int tor_tls_peer_is_valid(tor_tls *tls); -crypto_pk_env_t *tor_tls_get_peer_pk(tor_tls *tls); +int tor_tls_peer_has_cert(tor_tls *tls); +crypto_pk_env_t *tor_tls_verify(tor_tls *tls); 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); |