Commit 328fe9afe0b6d30767243ef06801e951b87f1c0f
1 parent
0b3a1242
Exists in
master
and in
3 other branches
Using standard macros for TLS version names.
Showing
2 changed files
with
5 additions
and
4 deletions
Show diff stats
src/ssl/linux/init.c
| @@ -98,6 +98,7 @@ int ssl_ctx_init(H3270 *hSession, SSL_ERROR_MESSAGE * message) | @@ -98,6 +98,7 @@ int ssl_ctx_init(H3270 *hSession, SSL_ERROR_MESSAGE * message) | ||
| 98 | 98 | ||
| 99 | ssl_3270_ex_index = SSL_get_ex_new_index(0,NULL,NULL,NULL,NULL); | 99 | ssl_3270_ex_index = SSL_get_ex_new_index(0,NULL,NULL,NULL,NULL); |
| 100 | 100 | ||
| 101 | + | ||
| 101 | #ifdef SSL_ENABLE_CRL_CHECK | 102 | #ifdef SSL_ENABLE_CRL_CHECK |
| 102 | 103 | ||
| 103 | // Enable CRL check | 104 | // Enable CRL check |
src/ssl/negotiate.c
| @@ -144,19 +144,19 @@ static const struct ssl_protocol { | @@ -144,19 +144,19 @@ static const struct ssl_protocol { | ||
| 144 | 144 | ||
| 145 | { | 145 | { |
| 146 | .id = SSL3_VERSION, | 146 | .id = SSL3_VERSION, |
| 147 | - .description = "SSLv3" | 147 | + .description = SSL_TXT_SSLV3 |
| 148 | }, | 148 | }, |
| 149 | { | 149 | { |
| 150 | .id = TLS1_VERSION, | 150 | .id = TLS1_VERSION, |
| 151 | - .description = "TLSv1" | 151 | + .description = SSL_TXT_TLSV1 |
| 152 | }, | 152 | }, |
| 153 | { | 153 | { |
| 154 | .id = TLS1_1_VERSION, | 154 | .id = TLS1_1_VERSION, |
| 155 | - .description = "TLSv1.1" | 155 | + .description = SSL_TXT_TLSV1_1 |
| 156 | }, | 156 | }, |
| 157 | { | 157 | { |
| 158 | .id = TLS1_2_VERSION, | 158 | .id = TLS1_2_VERSION, |
| 159 | - .description = "TLSv1.2" | 159 | + .description = SSL_TXT_TLSV1_2 |
| 160 | }, | 160 | }, |
| 161 | { | 161 | { |
| 162 | .id = DTLS1_VERSION, | 162 | .id = DTLS1_VERSION, |