write debug for openssl