mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:23:44 +03:00
example: fix formatting nits
Also: - drop non-portable `__STRING()` macro use where still used. Closes #19746
This commit is contained in:
parent
c10dda9ebb
commit
aad3c2e8e1
50 changed files with 225 additions and 227 deletions
|
|
@ -114,7 +114,7 @@ static CURLcode sslctx_function(CURL *curl, void *sslctx, void *pointer)
|
|||
}
|
||||
|
||||
/* tell SSL to use the X509 certificate */
|
||||
ret = SSL_CTX_use_certificate((SSL_CTX*)sslctx, cert);
|
||||
ret = SSL_CTX_use_certificate((SSL_CTX *)sslctx, cert);
|
||||
if(ret != 1) {
|
||||
printf("Use certificate failed\n");
|
||||
}
|
||||
|
|
@ -132,7 +132,7 @@ static CURLcode sslctx_function(CURL *curl, void *sslctx, void *pointer)
|
|||
}
|
||||
|
||||
/* tell SSL to use the RSA key from memory */
|
||||
ret = SSL_CTX_use_RSAPrivateKey((SSL_CTX*)sslctx, rsa);
|
||||
ret = SSL_CTX_use_RSAPrivateKey((SSL_CTX *)sslctx, rsa);
|
||||
if(ret != 1) {
|
||||
printf("Use Key failed\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue