Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 11 of 11) sorted by relevance

/openssh-portable/
H A Dmd5crypt.c54 static const char *sp, *ep; in md5_crypt() local
61 sp = salt; in md5_crypt()
64 if(strncmp(sp, magic, strlen(magic)) == 0) in md5_crypt()
65 sp += strlen(magic); in md5_crypt()
68 for (ep = sp; *ep != '$'; ep++) { in md5_crypt()
69 if (*ep == '\0' || ep >= (sp + 8)) in md5_crypt()
74 sl = ep - sp; in md5_crypt()
77 memcpy(salt_copy, sp, sl); in md5_crypt()
89 MD5_Update(&ctx, sp, sl); in md5_crypt()
94 MD5_Update(&ctx1, sp, sl); in md5_crypt()
[all …]
H A Dutf8.c108 char *sp; /* Pointer into src. */ in vasnmprintf() local
133 sp = src; in vasnmprintf()
139 while (*sp != '\0') { in vasnmprintf()
140 if ((len = mbtowc(&wc, sp, MB_CUR_MAX)) == -1) { in vasnmprintf()
175 memcpy(dp, sp, len); in vasnmprintf()
178 sp += len; in vasnmprintf()
196 tp = vis(dp, *sp, VIS_OCTAL | VIS_ALL, 0); in vasnmprintf()
203 sp++; in vasnmprintf()
H A Dmatch.c273 char *c, *s, *p, *ret, *cp, *sp; in match_list() local
277 s = sp = xstrdup(server); in match_list()
279 for ((p = strsep(&sp, SEP)), i=0; p && *p != '\0'; in match_list()
280 (p = strsep(&sp, SEP)), i++) { in match_list()
H A Dsshconnect.c133 int sp[2], sock; in ssh_proxy_fdpass_connect() local
152 close(sp[1]); in ssh_proxy_fdpass_connect() local
154 if (sp[0] != 0) { in ssh_proxy_fdpass_connect()
155 if (dup2(sp[0], 0) == -1) in ssh_proxy_fdpass_connect() local
158 if (sp[0] != 1) { in ssh_proxy_fdpass_connect()
159 if (dup2(sp[0], 1) == -1) in ssh_proxy_fdpass_connect() local
162 if (sp[0] >= 2) in ssh_proxy_fdpass_connect()
163 close(sp[0]); in ssh_proxy_fdpass_connect() local
189 close(sp[0]); in ssh_proxy_fdpass_connect() local
192 if ((sock = mm_receive_fd(sp[1])) == -1) in ssh_proxy_fdpass_connect()
[all …]
H A Dhostfile.c188 char marker[32], *sp, *cp = *cpp; in check_markers() local
196 if ((sp = strchr(cp, ' ')) == NULL && in check_markers()
197 (sp = strchr(cp, '\t')) == NULL) in check_markers()
200 if (sp <= cp + 1 || sp >= cp + sizeof(marker)) in check_markers()
202 memcpy(marker, cp, sp - cp); in check_markers()
203 marker[sp - cp] = '\0'; in check_markers()
212 cp = sp; in check_markers()
H A Dmisc.c427 char *sp, *ep; in a2tun() local
432 sp = xstrdup(s); in a2tun()
433 if ((ep = strchr(sp, ':')) == NULL) { in a2tun()
434 free(sp); in a2tun()
439 tun = a2tun(sp, NULL); in a2tun()
440 free(sp); in a2tun()
2169 opt_dequote(const char **sp, const char **errstrp) in opt_dequote() argument
2171 const char *s = *sp; in opt_dequote()
2197 *sp = s; in opt_dequote()
H A Dmisc.h171 char *opt_dequote(const char **sp, const char **errstrp);
H A Dauth-options.c751 deserialise_nullable_string(struct sshbuf *m, char **sp) in deserialise_nullable_string() argument
756 *sp = NULL; in deserialise_nullable_string()
758 (r = sshbuf_get_cstring(m, flag ? NULL : sp, NULL)) != 0) in deserialise_nullable_string()
H A Dreadconf.c466 struct servent *sp; in default_ssh_port() local
469 sp = getservbyname(SSH_SERVICE_NAME, "tcp"); in default_ssh_port()
470 port = sp ? ntohs(sp->s_port) : SSH_DEFAULT_PORT; in default_ssh_port()
H A Dconfigure.ac4650 struct spwd sp;
4651 ]], [[ sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; ]])],
/openssh-portable/openbsd-compat/
H A Dfake-rfc2553.c159 struct servent *sp; in getaddrinfo() local
175 else if ((sp = getservbyname(servname, NULL)) != NULL) in getaddrinfo()
176 port = sp->s_port; in getaddrinfo()

Completed in 35 milliseconds