example: fix formatting nits

Also:
- drop non-portable `__STRING()` macro use where still used.

Closes #19746
This commit is contained in:
Viktor Szakats 2025-11-28 14:19:18 +01:00
parent c10dda9ebb
commit aad3c2e8e1
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
50 changed files with 225 additions and 227 deletions

View file

@ -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");
}