Fix tests for OpenSSL version check.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>