extend C-API a little to support the openssl C extension