Lines Matching defs:res
127 int res;
139 res = http_download_file(ctx->http, buf, "Cert/est-cacerts.txt",
144 if (res < 0) {
184 res = pkcs7_to_cert(ctx, pkcs7, pkcs7_len, "Cert/est-cacerts.pem",
187 if (res < 0) {
253 int res;
258 res = OBJ_obj2txt(txt, sizeof(txt), oid, 1);
259 if (res < 0 || res >= (int) sizeof(txt))
277 int i, num, res;
283 res = OBJ_obj2txt(txt, sizeof(txt), oid, 1);
284 if (res < 0 || res >= (int) sizeof(txt))
307 int i, num, res;
312 res = OBJ_obj2txt(txt, sizeof(txt), attr->type, 1);
313 if (res < 0 || res >= (int) sizeof(txt))
325 res = OBJ_obj2txt(txt2, sizeof(txt2), oid, 1);
326 if (res < 0 || res >= (int) sizeof(txt2))
445 int res;
455 res = X509_REQ_set_subject_name(req,
458 if (!res)
520 int res = BIO_read(out, txt, rlen);
521 if (res > 0) {
522 txt[res] = '\0';
606 int res;
621 res = http_download_file(ctx->http, buf, "Cert/est-csrattrs.txt",
627 if (res < 0) {
667 res = generate_csr(ctx, "Cert/privkey-plain.pem", "Cert/est-req.pem",
672 return res;
685 int res;
754 res = pkcs7_to_cert(ctx, pkcs7, pkcs7_len, "Cert/est_cert.pem",
758 if (res < 0) {