Lines Matching refs:buf
43 unsigned char *buf = NULL; in test_certs() local
70 if ((buf = bufp = OPENSSL_malloc(len)) == NULL) { in test_certs()
82 enclen = (long) (bufp - buf); in test_certs()
88 if (memcmp(buf, data, len) != 0) { in test_certs()
93 p = buf; in test_certs()
106 OPENSSL_free(buf); in test_certs()
107 buf = NULL; in test_certs()
110 enclen = i2d(cert, &buf); in test_certs()
117 if (memcmp(buf, data, len) != 0) { in test_certs()
125 OPENSSL_free(buf); in test_certs()
126 buf = NULL; in test_certs()
129 enclen = i2d(cert, &buf); in test_certs()
136 if (memcmp(buf, data, enclen) != 0) { in test_certs()
149 OPENSSL_free(buf); in test_certs()