security/tinyca: support openssl 1.0.1 and fix warnings