Lines Matching refs:banner
106 char *banner = NULL; in auth2_read_banner() local
110 if ((fd = open(options.banner, O_RDONLY)) == -1) in auth2_read_banner()
122 banner = xmalloc(len + 1); in auth2_read_banner()
123 n = atomicio(read, fd, banner, len); in auth2_read_banner()
127 xfree(banner); in auth2_read_banner()
130 banner[n] = '\0'; in auth2_read_banner()
132 return (banner); in auth2_read_banner()
151 char *banner = NULL; in userauth_banner() local
153 if (options.banner == NULL || in userauth_banner()
154 strcasecmp(options.banner, "none") == 0 || in userauth_banner()
158 if ((banner = PRIVSEP(auth2_read_banner())) == NULL) in userauth_banner()
160 userauth_send_banner(banner); in userauth_banner()
163 if (banner) in userauth_banner()
164 xfree(banner); in userauth_banner()