Lines Matching full:pw_maxlen
44 size_t pw_maxlen, int usecrypt, int use1, int useapr1);
74 size_t pw_maxlen = 0;
210 pw_maxlen = 8;
212 pw_maxlen = 256; /* arbitrary limit, should be enough for most passwords */
218 passwd_malloc_size = pw_maxlen + 2;
246 quiet, table, reverse, pw_maxlen, usecrypt, use1, useapr1))
259 int r = BIO_gets(in, passwd, pw_maxlen + 1);
275 quiet, table, reverse, pw_maxlen, usecrypt, use1, useapr1))
419 size_t pw_maxlen, int usecrypt, int use1, int useapr1)
474 if ((strlen(passwd) > pw_maxlen))
478 BIO_printf(bio_err, "Warning: truncating password to %u characters\n", (unsigned)pw_maxlen);
479 passwd[pw_maxlen] = 0;
481 assert(strlen(passwd) <= pw_maxlen);