diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-08 00:37:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-08 00:37:10 +0000 |
commit | 19183a161c18f339f7a34894973c254086adb81d (patch) | |
tree | 54472d55be1415947a7159cd0ebec8e71055076d /src/include | |
parent | a12c532cba2af140f041081a5a2734355358cac1 (diff) | |
download | libmicrohttpd-19183a161c18f339f7a34894973c254086adb81d.tar.gz libmicrohttpd-19183a161c18f339f7a34894973c254086adb81d.zip |
adding MHD_OPTION_HTTPS_KEY_PASSWORD
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/microhttpd.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 2a6d0ba4..54377a44 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -130,7 +130,7 @@ typedef intptr_t ssize_t; | |||
130 | * Current version of the library. | 130 | * Current version of the library. |
131 | * 0x01093001 = 1.9.30-1. | 131 | * 0x01093001 = 1.9.30-1. |
132 | */ | 132 | */ |
133 | #define MHD_VERSION 0x00093902 | 133 | #define MHD_VERSION 0x00093903 |
134 | 134 | ||
135 | /** | 135 | /** |
136 | * MHD-internal return code for "YES". | 136 | * MHD-internal return code for "YES". |
@@ -863,6 +863,14 @@ enum MHD_OPTION | |||
863 | * This option must be followed by a `unsigned int` argument. | 863 | * This option must be followed by a `unsigned int` argument. |
864 | */ | 864 | */ |
865 | MHD_OPTION_LISTENING_ADDRESS_REUSE = 25, | 865 | MHD_OPTION_LISTENING_ADDRESS_REUSE = 25, |
866 | |||
867 | /** | ||
868 | * Memory pointer for a password that decrypts the private key (key.pem) | ||
869 | * to be used by the HTTPS daemon. This option should be followed by a | ||
870 | * `const char *` argument. | ||
871 | * This should be used in conjunction with #MHD_OPTION_HTTPS_MEM_KEY. | ||
872 | */ | ||
873 | MHD_OPTION_HTTPS_KEY_PASSWORD = 26 | ||
866 | }; | 874 | }; |
867 | 875 | ||
868 | 876 | ||