diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-05-31 13:36:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-31 13:36:18 -0400 |
commit | 3ca10bb62faaed6a5242ff760ed6c76330a750ef (patch) | |
tree | 46e70cf663eb46d3cbcd285350ffbfe53fa4dabe /src/or/config.c | |
parent | 65836d246dce0b5928bf6d9d580fce5786a23eb1 (diff) | |
download | tor-3ca10bb62faaed6a5242ff760ed6c76330a750ef.tar.gz tor-3ca10bb62faaed6a5242ff760ed6c76330a750ef.zip |
Fix-ups for dynamic OpenSSL engine patch.
Include a changelog, and don't try to compare strings with !=.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index 0d176670e4..dea76391d1 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3671,8 +3671,8 @@ options_transition_allowed(or_options_t *old, or_options_t *new_val, } if ((old->HardwareAccel != new_val->HardwareAccel) - || (old->AccelName != new_val->AccelName) - || (old->AccelDir != new_val->AccelDir)) { + || !opt_streq(old->AccelName, new_val->AccelName) + || !opt_streq(old->AccelDir, new_val->AccelDir)) { *msg = tor_strdup("While Tor is running, changing OpenSSL hardware " "acceleration engine is not allowed."); return -1; |