فهرست منبع

Corrected description for the daemon option

Evgeny Grin (Karlson2k) 1 سال پیش
والد
کامیت
1e2f00d3ee
3فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 1 1
      src/include/d_options.rec
  2. 1 1
      src/include/microhttpd2.h
  3. 3 3
      src/include/microhttpd2_generated_daemon_options.h

+ 1 - 1
src/include/d_options.rec

@@ -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
src/include/microhttpd2.h

@@ -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

+ 3 - 3
src/include/microhttpd2_generated_daemon_options.h

@@ -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