Lines Matching refs:banner
107 char *banner = NULL; in auth2_read_banner() local
111 if ((fd = open(options.banner, O_RDONLY)) == -1) in auth2_read_banner()
123 banner = xmalloc(len + 1); in auth2_read_banner()
124 n = atomicio(read, fd, banner, len); in auth2_read_banner()
128 free(banner); in auth2_read_banner()
131 banner[n] = '\0'; in auth2_read_banner()
133 return (banner); in auth2_read_banner()
152 char *banner = NULL; in userauth_banner() local
154 if (options.banner == NULL || (datafellows & SSH_BUG_BANNER) != 0) in userauth_banner()
157 if ((banner = PRIVSEP(auth2_read_banner())) == NULL) in userauth_banner()
159 userauth_send_banner(banner); in userauth_banner()
162 free(banner); in userauth_banner()