Lines Matching refs:buf
89 char buf[120]; in display_openssl_errors() local
97 ERR_error_string(e, buf); in display_openssl_errors()
98 fprintf(stderr, "- SSL %s: %s:%d\n", buf, file, line); in display_openssl_errors()
123 static int pem_pw_cb(char *buf, int len, int w, void *v) in pem_pw_cb() argument
134 strcpy(buf, key_pass); in pem_pw_cb()
179 unsigned char buf[2]; in read_x509() local
188 n = BIO_read(b, buf, 2); in read_x509()
203 if (buf[0] == 0x30 && buf[1] >= 0x81 && buf[1] <= 0x84) in read_x509()
225 unsigned char buf[4096]; in main() local
367 while ((n = BIO_read(bm, buf, sizeof(buf))), in main()
369 ERR(BIO_write(bd, buf, n) < 0, "%s", dest_name); in main()
389 while ((n = BIO_read(b, buf, sizeof(buf))), n > 0) in main()
390 ERR(BIO_write(bd, buf, n) < 0, "%s", dest_name); in main()