mirror of
https://github.com/curl/curl.git
synced 2026-08-03 09:00:34 +03:00
parent
dd36dacd3e
commit
3561f2c7bf
4 changed files with 5 additions and 5 deletions
|
|
@ -277,7 +277,7 @@ static CURLcode X509V3_ext(struct Curl_easy *data,
|
|||
|
||||
if(asn1_object_dump(obj, namebuf, sizeof(namebuf)))
|
||||
/* make sure the name is null-terminated */
|
||||
namebuf [ sizeof(namebuf) - 1] = 0;
|
||||
namebuf[sizeof(namebuf) - 1] = 0;
|
||||
|
||||
if(!X509V3_EXT_print(bio_out, ext, 0, 0))
|
||||
ASN1_STRING_print(bio_out, (ASN1_STRING *)X509_EXTENSION_get_data(ext));
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ CURLcode add_file_name_to_url(CURL *curl, char **inurlp, const char *filename)
|
|||
if(uh) {
|
||||
char *ptr;
|
||||
uerr = curl_url_set(uh, CURLUPART_URL, *inurlp,
|
||||
CURLU_GUESS_SCHEME|CURLU_NON_SUPPORT_SCHEME);
|
||||
CURLU_GUESS_SCHEME|CURLU_NON_SUPPORT_SCHEME);
|
||||
if(uerr) {
|
||||
result = urlerr_cvt(uerr);
|
||||
goto fail;
|
||||
|
|
|
|||
|
|
@ -623,7 +623,7 @@ CURLcode tool_setopt_offt(CURL *curl, const char *name, CURLoption tag,
|
|||
if(global->libcurl && !ret && lval) {
|
||||
/* we only use this for real if --libcurl was used */
|
||||
ret = easysrc_addf(&easysrc_code, "curl_easy_setopt(hnd, %s, (curl_off_t)%"
|
||||
CURL_FORMAT_CURL_OFF_T ");", name, lval);
|
||||
CURL_FORMAT_CURL_OFF_T ");", name, lval);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -156,8 +156,8 @@ static CURLcode tool_ssls_exp(CURL *easy, void *userptr,
|
|||
(void)earlydata_max;
|
||||
if(!ctx->exported)
|
||||
fputs("# Your SSL session cache. https://curl.se/docs/ssl-sessions.html\n"
|
||||
"# This file was generated by libcurl! Edit at your own risk.\n",
|
||||
ctx->fp);
|
||||
"# This file was generated by libcurl! Edit at your own risk.\n",
|
||||
ctx->fp);
|
||||
|
||||
r = curlx_base64_encode((const char *)shmac, shmac_len, &enc, &enc_len);
|
||||
if(r)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue