mirror of
https://github.com/curl/curl.git
synced 2026-06-06 12:34:17 +03:00
rename variable in docs to avoid exclusion
This commit is contained in:
parent
2ebda6fa20
commit
5f5139e5ac
6 changed files with 11 additions and 11 deletions
1
.github/scripts/codespell-ignore.txt
vendored
1
.github/scripts/codespell-ignore.txt
vendored
|
|
@ -15,7 +15,6 @@ htpt
|
|||
inout
|
||||
nome
|
||||
numer
|
||||
parm
|
||||
Nam
|
||||
PASE
|
||||
perfec
|
||||
|
|
|
|||
2
.github/scripts/typos.toml
vendored
2
.github/scripts/typos.toml
vendored
|
|
@ -6,7 +6,7 @@
|
|||
extend-ignore-identifiers-re = [
|
||||
"(ba|BA|fo|Fo|FU|Iy|ND|OT|pn|PN|ue|UE)",
|
||||
"(anc|bck|ben|CNA|ECT|EDE|edn|ein|Jod|kno|MEK|Nam|Ned|noo|nin|nto|ser|ths|Typ|typ|URE|wrk)",
|
||||
"(admi|alue|CLEA|clen|dout|GOST|HELO|helo|htpt|PARM|parm|PASE)",
|
||||
"(admi|alue|CLEA|clen|dout|GOST|HELO|helo|htpt|PARM|PASE)",
|
||||
"(HEADE|numer|optin|parms|stati|ttests)",
|
||||
"(Januar|passin|Passiv|perfec|PUNICODE|TEMPLAT|varius)",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ static size_t writefunction(void *ptr, size_t size, size_t nmemb, void *stream)
|
|||
return nmemb * size;
|
||||
}
|
||||
|
||||
static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm)
|
||||
static CURLcode sslctx_function(CURL *curl, void *sslctx, void *pointer)
|
||||
{
|
||||
CURLcode rv = CURLE_ABORTED_BY_CALLBACK;
|
||||
|
||||
|
|
@ -93,8 +93,9 @@ static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm)
|
|||
X509_STORE *cts = SSL_CTX_get_cert_store((SSL_CTX *)sslctx);
|
||||
int i;
|
||||
STACK_OF(X509_INFO) *inf;
|
||||
(void)curl;
|
||||
(void)parm;
|
||||
|
||||
(void)curl; /* avoid warnings */
|
||||
(void)pointer; /* avoid warnings */
|
||||
|
||||
if(!cts || !cbio) {
|
||||
return rv;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ static size_t writefunction(void *ptr, size_t size, size_t nmemb, void *stream)
|
|||
return nmemb * size;
|
||||
}
|
||||
|
||||
static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm)
|
||||
static CURLcode sslctx_function(CURL *curl, void *sslctx, void *pointer)
|
||||
{
|
||||
X509 *cert = NULL;
|
||||
BIO *bio = NULL;
|
||||
|
|
@ -124,7 +124,7 @@ static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm)
|
|||
"-----END RSA PRIVATE KEY-----\n";
|
||||
|
||||
(void)curl; /* avoid warnings */
|
||||
(void)parm; /* avoid warnings */
|
||||
(void)pointer; /* avoid warnings */
|
||||
|
||||
/* get a BIO */
|
||||
bio = BIO_new_mem_buf((char *)mypem, -1);
|
||||
|
|
|
|||
|
|
@ -49,12 +49,12 @@ NULL
|
|||
#include <curl/curl.h>
|
||||
#include <stdio.h>
|
||||
|
||||
static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm)
|
||||
static CURLcode sslctx_function(CURL *curl, void *sslctx, void *pointer)
|
||||
{
|
||||
X509_STORE *store;
|
||||
X509 *cert = NULL;
|
||||
BIO *bio;
|
||||
char *mypem = parm;
|
||||
char *mypem = pointer;
|
||||
/* get a BIO */
|
||||
bio = BIO_new_mem_buf(mypem, -1);
|
||||
/* use it to read the PEM formatted certificate from memory into an
|
||||
|
|
|
|||
|
|
@ -100,12 +100,12 @@ NULL
|
|||
#include <curl/curl.h>
|
||||
#include <stdio.h>
|
||||
|
||||
static CURLcode sslctx_function(CURL *curl, void *sslctx, void *parm)
|
||||
static CURLcode sslctx_function(CURL *curl, void *sslctx, void *pointer)
|
||||
{
|
||||
X509_STORE *store;
|
||||
X509 *cert = NULL;
|
||||
BIO *bio;
|
||||
char *mypem = parm;
|
||||
char *mypem = pointer;
|
||||
/* get a BIO */
|
||||
bio = BIO_new_mem_buf(mypem, -1);
|
||||
/* use it to read the PEM formatted certificate from memory into an
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue