Accept patched versions of OpenSSL 0.9.8 (>= y) and OpenSSL 1.0.0 (>= l).
Also add tests with numeric components above 9.

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