sqlite: Use our locking mechanism also when sqlite3_threadsafe() returns 0
authorMartin Willi <martin@revosec.ch>
Fri, 10 Apr 2015 11:36:58 +0000 (13:36 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 13 Apr 2015 13:31:58 +0000 (15:31 +0200)
commit6a84a4049d6f7625dd585e39b7b6f871ec8e5bf6
tree088b67a619741fa753be164bb425d031aa9b9810
parent4e621ada96ff70d4a3054a93e8adcc07e800d372
sqlite: Use our locking mechanism also when sqlite3_threadsafe() returns 0

We previously checked for older library versions without locking support at
all. But newer libraries can be built in single-threading mode as well, where
we have to care about the locking.
src/libstrongswan/plugins/sqlite/sqlite_database.c