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
src/ssl/negotiate.c
... | ... | @@ -144,19 +144,19 @@ static const struct ssl_protocol { |
144 | 144 | |
145 | 145 | { |
146 | 146 | .id = SSL3_VERSION, |
147 | - .description = "SSLv3" | |
147 | + .description = SSL_TXT_SSLV3 | |
148 | 148 | }, |
149 | 149 | { |
150 | 150 | .id = TLS1_VERSION, |
151 | - .description = "TLSv1" | |
151 | + .description = SSL_TXT_TLSV1 | |
152 | 152 | }, |
153 | 153 | { |
154 | 154 | .id = TLS1_1_VERSION, |
155 | - .description = "TLSv1.1" | |
155 | + .description = SSL_TXT_TLSV1_1 | |
156 | 156 | }, |
157 | 157 | { |
158 | 158 | .id = TLS1_2_VERSION, |
159 | - .description = "TLSv1.2" | |
159 | + .description = SSL_TXT_TLSV1_2 | |
160 | 160 | }, |
161 | 161 | { |
162 | 162 | .id = DTLS1_VERSION, | ... | ... |