diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-26 03:09:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-26 03:09:17 +0000 |
commit | 0355d29e12cee143f29f7677151dc2fdf5950f7e (patch) | |
tree | 7699098e9083159dc1b1ccfce119ac0d27bf7ea3 | |
parent | 75dc76eb3ec6eb8e948601282809abf94ba54615 (diff) | |
download | tor-0355d29e12cee143f29f7677151dc2fdf5950f7e.tar.gz tor-0355d29e12cee143f29f7677151dc2fdf5950f7e.zip |
Call tls_log_errors at a more appropriate location; we can remove the other calls in tor_tls_verify once we are sure they never happen.
svn:r1709
-rw-r--r-- | src/common/tortls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index 5e0deef22a..feeb3caf20 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -580,6 +580,7 @@ tor_tls_verify(tor_tls *tls, crypto_pk_env_t *identity_key) if (!(id_pkey = _crypto_pk_env_get_evp_pkey(identity_key,0)) || X509_verify(cert, id_pkey) <= 0) { log_fn(LOG_WARN,"X509_verify on cert and pkey returned <= 0"); + tls_log_errors(LOG_WARN,"verifying certificate"); goto done; } |