Lines Matching refs:out

946   struct dynbuf out;  in do_pubkey_field()  local
948 Curl_dyn_init(&out, CURL_X509_STR_MAX); in do_pubkey_field()
952 result = ASN1tostr(&out, elem, 0); in do_pubkey_field()
955 result = ssl_push_certinfo_dyn(data, certnum, label, &out); in do_pubkey_field()
956 Curl_dyn_free(&out); in do_pubkey_field()
1082 struct dynbuf out; in Curl_extract_certinfo() local
1092 Curl_dyn_init(&out, CURL_X509_STR_MAX); in Curl_extract_certinfo()
1100 result = DNtostr(&out, &cert.subject); in Curl_extract_certinfo()
1104 result = ssl_push_certinfo_dyn(data, certnum, "Subject", &out); in Curl_extract_certinfo()
1108 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1111 result = DNtostr(&out, &cert.issuer); in Curl_extract_certinfo()
1115 result = ssl_push_certinfo_dyn(data, certnum, "Issuer", &out); in Curl_extract_certinfo()
1119 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1126 result = Curl_dyn_addf(&out, "%x", version); in Curl_extract_certinfo()
1129 result = ssl_push_certinfo_dyn(data, certnum, "Version", &out); in Curl_extract_certinfo()
1132 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1136 result = ASN1tostr(&out, &cert.serialNumber, 0); in Curl_extract_certinfo()
1140 result = ssl_push_certinfo_dyn(data, certnum, "Serial Number", &out); in Curl_extract_certinfo()
1144 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1147 result = dumpAlgo(&out, &param, cert.signatureAlgorithm.beg, in Curl_extract_certinfo()
1153 &out); in Curl_extract_certinfo()
1157 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1160 result = ASN1tostr(&out, &cert.notBefore, 0); in Curl_extract_certinfo()
1164 result = ssl_push_certinfo_dyn(data, certnum, "Start Date", &out); in Curl_extract_certinfo()
1168 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1171 result = ASN1tostr(&out, &cert.notAfter, 0); in Curl_extract_certinfo()
1175 result = ssl_push_certinfo_dyn(data, certnum, "Expire Date", &out); in Curl_extract_certinfo()
1179 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1182 result = dumpAlgo(&out, &param, cert.subjectPublicKeyAlgorithm.beg, in Curl_extract_certinfo()
1188 &out); in Curl_extract_certinfo()
1193 rc = do_pubkey(data, certnum, Curl_dyn_ptr(&out), in Curl_extract_certinfo()
1199 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1202 result = ASN1tostr(&out, &cert.signature, 0); in Curl_extract_certinfo()
1206 result = ssl_push_certinfo_dyn(data, certnum, "Signature", &out); in Curl_extract_certinfo()
1210 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1228 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1231 result = Curl_dyn_add(&out, "-----BEGIN CERTIFICATE-----\n"); in Curl_extract_certinfo()
1237 result = Curl_dyn_addn(&out, &certptr[j], chunksize); in Curl_extract_certinfo()
1239 result = Curl_dyn_addn(&out, "\n", 1); in Curl_extract_certinfo()
1243 result = Curl_dyn_add(&out, "-----END CERTIFICATE-----\n"); in Curl_extract_certinfo()
1248 result = ssl_push_certinfo_dyn(data, certnum, "Cert", &out); in Curl_extract_certinfo()
1253 Curl_dyn_free(&out); in Curl_extract_certinfo()