Corrected description for the daemon option

This commit is contained in:
Evgeny Grin (Karlson2k)
2024-11-28 14:20:12 +03:00
parent a3457d9a6d
commit 1e2f00d3ee
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ Argument2: const char *mem_key
Description2: the private key in PEM format loaded into memory (not a filename)
Argument3: const char *mem_pass
Description3: the option passphrase phrase to decrypt the private key,
+ could be NULL is private does not need a password
+ could be NULL if private key does not need a password
CustomSetter: /* custom setter */
+ if ((NULL == option->val.tls_cert_key.v_mem_cert)
+ || (NULL == option->val.tls_cert_key.v_mem_key))
+1 -1
View File
@@ -4009,7 +4009,7 @@ MHD_D_OPTION_TLS (
* certificates up to (but not including) CA root certificate.
* @param mem_key the private key in PEM format loaded into memory (not a filename)
* @param mem_pass the option passphrase phrase to decrypt the private key,
* could be NULL is private does not need a password
* could be NULL if private key does not need a password
* @return structure with the requested setting
*/
struct MHD_DaemonOptionAndValue
@@ -442,7 +442,7 @@ struct MHD_DaemonOptionValueTlsCert
/**
* the option passphrase phrase to decrypt the private key,
* could be NULL is private does not need a password
* could be NULL if private key does not need a password
*/
const char *v_mem_pass;
@@ -1032,7 +1032,7 @@ Works only when #MHD_D_OPTION_BIND_PORT() or #MHD_D_OPTION_BIND_SA() are used.
* certificates up to (but not including) CA root certificate.
* @param mem_key the private key in PEM format loaded into memory (not a filename)
* @param mem_pass the option passphrase phrase to decrypt the private key,
* could be NULL is private does not need a password
* could be NULL if private key does not need a password
* @return structure with the requested setting
*/
# define MHD_D_OPTION_TLS_CERT_KEY(mem_cert,mem_key,mem_pass) \
@@ -1751,7 +1751,7 @@ MHD_D_OPTION_TLS (
* certificates up to (but not including) CA root certificate.
* @param mem_key the private key in PEM format loaded into memory (not a filename)
* @param mem_pass the option passphrase phrase to decrypt the private key,
* could be NULL is private does not need a password
* could be NULL if private key does not need a password
* @return structure with the requested setting
*/
static MHD_INLINE struct MHD_DaemonOptionAndValue