Commit 984b5f402ceefca77696f95bd78c3e05d4d117a5
Exists in
master
and in
2 other branches
Merge branch 'develop' into network_module
Showing
3 changed files
with
17 additions
and
15 deletions
Show diff stats
src/core/properties/boolean.c
src/include/lib3270/properties.h
| ... | ... | @@ -213,21 +213,6 @@ |
| 213 | 213 | LIB3270_EXPORT const LIB3270_UINT_PROPERTY * lib3270_unsigned_property_get_by_name(const char *name); |
| 214 | 214 | |
| 215 | 215 | /** |
| 216 | - * @brief Disable automatic download of the CRL. | |
| 217 | - * | |
| 218 | - * @param hSession Session handle. | |
| 219 | - * @param Value Non zero to enable automatic download of CRL. | |
| 220 | - * | |
| 221 | - * @return 0 if ok or error code if not (Sets errno). | |
| 222 | - * | |
| 223 | - * @retval 0 Success, the property was set. | |
| 224 | - * @retval ENOTSUP No SSL/TLS support. | |
| 225 | - */ | |
| 226 | - LIB3270_EXPORT int lib3270_ssl_set_crl_download(H3270 *hSession, int enabled); | |
| 227 | - | |
| 228 | - LIB3270_EXPORT int lib3270_ssl_get_crl_download(const H3270 *hSession); | |
| 229 | - | |
| 230 | - /** | |
| 231 | 216 | * @brief Get lib3270 version info. |
| 232 | 217 | * |
| 233 | 218 | * @return String with lib3270 version info (release it with lib3270_free). | ... | ... |
src/include/lib3270/ssl.h
| ... | ... | @@ -107,6 +107,22 @@ |
| 107 | 107 | LIB3270_EXPORT char * lib3270_get_ssl_crl_text(const H3270 *hSession); |
| 108 | 108 | LIB3270_EXPORT char * lib3270_get_ssl_peer_certificate_text(const H3270 *hSession); |
| 109 | 109 | |
| 110 | + /** | |
| 111 | + * @brief Disable automatic download of the CRL. | |
| 112 | + * | |
| 113 | + * @param hSession Session handle. | |
| 114 | + * @param Value Non zero to enable automatic download of CRL. | |
| 115 | + * | |
| 116 | + * @return 0 if ok or error code if not (Sets errno). | |
| 117 | + * | |
| 118 | + * @retval 0 Success, the property was set. | |
| 119 | + * @retval ENOTSUP No SSL/TLS support. | |
| 120 | + */ | |
| 121 | + LIB3270_EXPORT int lib3270_ssl_set_crl_download(H3270 *hSession, int enabled); | |
| 122 | + | |
| 123 | + LIB3270_EXPORT int lib3270_ssl_get_crl_download(const H3270 *hSession); | |
| 124 | + | |
| 125 | + | |
| 110 | 126 | #ifdef __cplusplus |
| 111 | 127 | } |
| 112 | 128 | #endif | ... | ... |