Home
last modified time | relevance | path

Searched refs:store (Results 1 – 25 of 57) sorted by relevance

123

/curl/tests/unit/
H A Dunit1304.c49 struct store_netrc store; variable
54 Curl_netrc_init(&store);
60 Curl_netrc_cleanup(&store);
66 Curl_netrc_init(&store);
77 Curl_netrc_init(&store);
89 Curl_netrc_init(&store);
101 Curl_netrc_init(&store);
113 Curl_netrc_init(&store);
132 Curl_netrc_init(&store);
151 Curl_netrc_init(&store);
[all …]
/curl/src/
H A Dtool_helpers.c83 int SetHTTPrequest(struct OperationConfig *config, HttpReq req, HttpReq *store) in SetHTTPrequest() argument
95 if((*store == TOOL_HTTPREQ_UNSPEC) || in SetHTTPrequest()
96 (*store == req)) { in SetHTTPrequest()
97 *store = req; in SetHTTPrequest()
102 reqname[req], reqname[*store]); in SetHTTPrequest()
H A Dtool_helpers.h31 HttpReq *store);
/curl/lib/vtls/
H A Dx509asn1.c292 static CURLcode bit2str(struct dynbuf *store, in bit2str() argument
299 return octet2str(store, beg, end); in bit2str()
317 return octet2str(store, beg, end); in int2str()
444 result = Curl_dyn_addf(store, ".%u", x); in encodeOID()
475 result = encodeOID(store, beg, end); in OID2str()
550 return Curl_dyn_addf(store, in GTime2str()
563 return GTime2str(store, beg, end); in Curl_x509_GTime2str()
640 result = Curl_dyn_addn(store, "", 1); in ASN1tostr()
733 result = Curl_dyn_add(store, str); in encodeDN()
743 result = ASN1tostr(store, &value, 0); in encodeDN()
[all …]
H A Dwolfssl.c561 if(!store) in populate_x509_store()
594 (void)store; in populate_x509_store()
615 if(share->store) { in wssl_x509_share_free()
653 WOLFSSL_X509_STORE *store = NULL; in get_cached_x509_store() local
659 if(share && share->store && in get_cached_x509_store()
662 store = share->store; in get_cached_x509_store()
665 return store; in get_cached_x509_store()
702 wolfSSL_X509_STORE_free(store); in set_cached_x509_store()
707 if(share->store) { in set_cached_x509_store()
713 share->store = store; in set_cached_x509_store()
[all …]
H A Dvtls.c658 struct Curl_ssl_session *store; in Curl_ssl_set_sessionid() local
688 store = &data->state.session[0]; in Curl_ssl_set_sessionid()
733 Curl_ssl_kill_session(store); in Curl_ssl_set_sessionid()
743 store->sessionid = ssl_sessionid; in Curl_ssl_set_sessionid()
744 store->idsize = idsize; in Curl_ssl_set_sessionid()
748 free(store->name); in Curl_ssl_set_sessionid()
749 free(store->conn_to_host); in Curl_ssl_set_sessionid()
755 store->alpn = clone_alpn; in Curl_ssl_set_sessionid()
758 store->remote_port = peer->port; in Curl_ssl_set_sessionid()
770 store->scheme, store->name, store->remote_port, in Curl_ssl_set_sessionid()
[all …]
H A Dx509asn1.h86 CURLcode Curl_x509_GTime2str(struct dynbuf *store,
H A Dopenssl.c3164 if(!store) in populate_x509_store()
3272 X509_STORE_set_flags(store, in populate_x509_store()
3325 if(share->store) { in oss_x509_share_free()
3364 X509_STORE *store = NULL; in get_cached_x509_store() local
3370 if(share && share->store && in get_cached_x509_store()
3373 store = share->store; in get_cached_x509_store()
3376 return store; in get_cached_x509_store()
3407 if(X509_STORE_up_ref(store)) { in set_cached_x509_store()
3413 X509_STORE_free(store); in set_cached_x509_store()
3418 if(share->store) { in set_cached_x509_store()
[all …]
/curl/lib/
H A Dnetrc.c98 static int parsenetrc(struct store_netrc *store, in parsenetrc() argument
116 struct dynbuf *filebuf = &store->filebuf; in parsenetrc()
120 if(!store->loaded) { in parsenetrc()
123 store->loaded = TRUE; in parsenetrc()
340 int Curl_parsenetrc(struct store_netrc *store, const char *host, in Curl_parsenetrc() argument
390 retcode = parsenetrc(store, host, loginp, passwordp, filealloc); in Curl_parsenetrc()
400 retcode = parsenetrc(store, host, loginp, passwordp, filealloc); in Curl_parsenetrc()
407 retcode = parsenetrc(store, host, loginp, passwordp, netrcfile); in Curl_parsenetrc()
H A Dparsedate.h30 CURLcode Curl_gmtime(time_t intime, struct tm *store);
H A Dparsedate.c628 CURLcode Curl_gmtime(time_t intime, struct tm *store) in Curl_gmtime() argument
633 tm = (struct tm *)gmtime_r(&intime, store); in Curl_gmtime()
638 *store = *tm; /* copy the pointed struct to the local copy */ in Curl_gmtime()
/curl/docs/libcurl/opts/
H A DCURLOPT_SSLCERT.md48 certificate store. (You can import *PFX* to a store first). You can use
49 "\<store location\>\\\<store name\>\\\<thumbprint\>" to refer to a certificate
50 in the system certificates store, for example,
52 string which you can see in certificate details. Following store locations are
H A DCURLOPT_SSL_CTX_DATA.md55 X509_STORE *store;
68 /* get a pointer to the X509 certificate store (which may be empty) */
69 store = SSL_CTX_get_cert_store((SSL_CTX *)sslctx);
71 /* add our certificate to this store */
72 if(X509_STORE_add_cert(store, cert) == 0)
H A DCURLOPT_CA_CACHE_TIMEOUT.md38 time any cached CA certificate store it has in memory may be kept and reused
42 Building a CA certificate store from a CURLOPT_CAINFO(3) file is a slow
43 operation so curl may cache the generated certificate store internally to
47 the cached store remain forever. By default, libcurl caches this info for 24
H A DCURLOPT_PRIVATE.md18 CURLOPT_PRIVATE - store a private pointer
56 /* store a pointer to our private struct */
H A DCURLOPT_SSL_CTX_FUNCTION.md87 callback may be done with the same CA store in memory.
106 X509_STORE *store;
119 /* get a pointer to the X509 certificate store (which may be empty) */
120 store = SSL_CTX_get_cert_store((SSL_CTX *)sslctx);
122 /* add our certificate to this store */
123 if(X509_STORE_add_cert(store, cert) == 0)
H A DCURLOPT_WRITEDATA.md51 A common technique is to use the write callback to store the incoming data
53 CURLOPT_WRITEDATA(3) is used to point to a struct or the buffer to store data
/curl/docs/cmdline-opts/
H A Dca-native.md21 Use the CA store from the native operating system to verify the peer. By
22 default, curl otherwise uses a CA store provided in a single file or
29 store.
H A Dproxy-ca-native.md21 Use the CA store from the native operating system to verify the HTTPS proxy.
22 By default, curl uses a CA store provided in a single file or directory, but
28 store.
H A Dcert.md53 a certificate store. (Loading *PFX* is not supported; you can import it to a
54 store first). You can use "\<store location\>\\<store name\>\\<thumbprint\>"
55 to refer to a certificate in the system certificates store, for example,
58 store locations are supported: *CurrentUser*, *LocalMachine*,
H A Dcookie-jar.md16 - -c store-here.txt $URL
17 - -c store-here.txt -b read-these $URL
H A Dno-progress-meter.md13 - --no-progress-meter -o store $URL
H A Dssl-auto-client-cert.md20 certificate that supports client authentication in the OS certificate store it
H A Dxattr.md19 When saving output to a file, tell curl to store file metadata in extended
/curl/tests/data/
H A Dtest127018 Cache-Control: no-cache,no-store,must-revalidate,post-check=0,pre-check=0
56 Cache-Control: no-cache,no-store,must-revalidate,post-check=0,pre-check=0

Completed in 72 milliseconds

123