Home
last modified time | relevance | path

Searched refs:sp_pwdp (Results 1 – 9 of 9) sorted by relevance

/glibc-2.36/nss/nss_compat/
Dcompat-spwd.c103 free (pwd->sp_pwdp); in give_spwd_free()
117 if (pwd->sp_pwdp != NULL) in spwd_need_buflen()
118 len += strlen (pwd->sp_pwdp) + 1; in spwd_need_buflen()
127 if (src->sp_pwdp != NULL && strlen (src->sp_pwdp)) in copy_spwd_changes()
130 dest->sp_pwdp = strdup (src->sp_pwdp); in copy_spwd_changes()
131 else if (dest->sp_pwdp in copy_spwd_changes()
132 && strlen (dest->sp_pwdp) >= strlen (src->sp_pwdp)) in copy_spwd_changes()
133 strcpy (dest->sp_pwdp, src->sp_pwdp); in copy_spwd_changes()
136 dest->sp_pwdp = buffer; in copy_spwd_changes()
137 strcpy (dest->sp_pwdp, src->sp_pwdp); in copy_spwd_changes()
[all …]
/glibc-2.36/shadow/
Dtst-shadow.c52 if (strcmp (p->sp_pwdp, data[seen].sp_pwdp) != 0) in do_test()
55 seen + 1, p->sp_pwdp, data[seen].sp_pwdp); in do_test()
Dtst-putspent.c106 .sp_pwdp = (char *) "password", in do_test()
111 .sp_pwdp = (char *) "password", in do_test()
123 .sp_pwdp = (char *) "password", in do_test()
155 .sp_pwdp = (char *) *bad, in do_test()
Dputspent.c37 || !__nss_valid_field (p->sp_pwdp)) in putspent()
45 if (fprintf (stream, "%s:%s:", p->sp_namp, _S (p->sp_pwdp)) < 0) in putspent()
Dsgetspent_r.c42 result->sp_pwdp = NULL;
53 STRING_FIELD (result->sp_pwdp, ISCOLON, 0);
Dshadow.h46 char *sp_pwdp; /* Hashed passphrase. */ member
/glibc-2.36/nss/
Dnss_test.h51 #define SPWD_LAST() { .sp_namp = NULL, .sp_pwdp = NULL }
56 #define SPWD_ISLAST(s) ((s)->sp_namp == NULL && (s)->sp_pwdp == 0)
84 { .sp_namp = (char *) "name" #u, .sp_pwdp = (char *) "passwd" #u }
Dnss_test1.c367 result->sp_pwdp = alloc_buffer_maybe_copy_string (&buf, local->sp_pwdp); in copy_shadow()
/glibc-2.36/ChangeLog.old/
DChangeLog.1830464 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for