Fix-ups for dynamic OpenSSL engine patch.

Include a changelog, and don't try to compare strings with !=.
This commit is contained in:
Nick Mathewson
2009-05-31 13:36:18 -04:00
parent 65836d246d
commit 3ca10bb62f
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
Changes in version 0.2.2.1-alpha - 2009-??-??
o Minor features
o Major features:
- Add support for dynamic OpenSSL hardware crypto acceleration engines
via new AccelName and AccelDir options.
o Minor features:
- New --digests command-line switch to output the digests of the
source files Tor was built with.
- The "torify" script now uses torsocks where available.
+2 -2
View File
@@ -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;