diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-09 11:12:12 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-09 11:12:12 -0500 |
commit | c6336727cac937b4b5ca38c9b49ed3a66ce0b579 (patch) | |
tree | 8735c6509412adbb1e8a2909cd95577e78b18074 /src/lib/tls | |
parent | e80595f562e199049a41fdf1f3e12baced7e74d5 (diff) | |
download | tor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.tar.gz tor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.zip |
Rename subsystem callback functions to make them consistent
Diffstat (limited to 'src/lib/tls')
-rw-r--r-- | src/lib/tls/tortls.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/tls/tortls.c b/src/lib/tls/tortls.c index fdeea9e0d4..654cacacf7 100644 --- a/src/lib/tls/tortls.c +++ b/src/lib/tls/tortls.c @@ -443,8 +443,14 @@ tor_tls_verify(int severity, tor_tls_t *tls, crypto_pk_t **identity) return rv; } +static void +subsys_tortls_shutdown(void) +{ + tor_tls_free_all(); +} + const subsys_fns_t sys_tortls = { .name = "tortls", .level = -50, - .shutdown = tor_tls_free_all + .shutdown = subsys_tortls_shutdown }; |