Commit f3d5acf29c78cc1ff5de54bb34f6fe76fbe59239
1 parent
77f707e5
Exists in
master
and in
3 other branches
Fixing SLE-12 package.
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/ssl/negotiate.c
| @@ -158,14 +158,18 @@ static const struct ssl_protocol { | @@ -158,14 +158,18 @@ static const struct ssl_protocol { | ||
| 158 | .id = TLS1_2_VERSION, | 158 | .id = TLS1_2_VERSION, |
| 159 | .description = SSL_TXT_TLSV1_2 | 159 | .description = SSL_TXT_TLSV1_2 |
| 160 | }, | 160 | }, |
| 161 | +#ifdef DTLS1_VERSION | ||
| 161 | { | 162 | { |
| 162 | .id = DTLS1_VERSION, | 163 | .id = DTLS1_VERSION, |
| 163 | .description = "DTLSv1" | 164 | .description = "DTLSv1" |
| 164 | }, | 165 | }, |
| 166 | +#endif // DTLS1_VERSION | ||
| 167 | +#ifdef DTLS1_2_VERSION | ||
| 165 | { | 168 | { |
| 166 | .id = DTLS1_2_VERSION, | 169 | .id = DTLS1_2_VERSION, |
| 167 | .description = "DTLSv2" | 170 | .description = "DTLSv2" |
| 168 | - } | 171 | + }, |
| 172 | +#endif // DTLS1_2_VERSION | ||
| 169 | 173 | ||
| 170 | }; | 174 | }; |
| 171 | 175 |