Lines Matching defs:buf
151 char *buf;
154 buf = strndup(dialog, strlen(dialog) - 1);
155 if (buf == NULL) {
159 *pin = run_askpass(buf);
160 free(buf);
623 char *buf = NULL;
653 buf = (char *)OPENSSL_malloc(PK11_MAX_PIN_LEN + 1);
654 if (buf == NULL) {
661 n = read(p[0], buf, PK11_MAX_PIN_LEN);
665 OPENSSL_free(buf);
668 buf[n] = '\0';
673 return (buf);