From 1bf1f9d2fca917099c7e26e8f46df36329cd5c65 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 31 Oct 2006 19:17:07 +0000 Subject: r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500 Dump breakdown of PK operations when we get a USR2 signal. This should help us figure out of we are doing some of them for stupid reasons. svn:r8881 --- src/or/connection_or.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/connection_or.c') diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 9f1119cf40..7f6f2be958 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -488,6 +488,8 @@ connection_tls_start_handshake(or_connection_t *conn, int receiving) } connection_start_reading(TO_CONN(conn)); log_debug(LD_OR,"starting TLS handshake on fd %d", conn->_base.s); + note_crypto_pk_op(receiving ? TLS_HANDSHAKE_S : TLS_HANDSHAKE_C); + if (connection_tls_continue_handshake(conn) < 0) { return -1; } -- cgit v1.2.3-54-g00ecf