summaryrefslogtreecommitdiff
path: root/lib/gnutls_algorithms.c
diff options
context:
space:
mode:
authorJonathan Bastien-Filiatrault <joe@x2a.org>2009-07-15 19:48:33 -0400
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-17 22:23:21 +0100
commitaceb9810d60e528e9629ec68799f2e1a76cffa02 (patch)
tree96f022074bdfcf631ebde703eeb7e5e2e68a6eed /lib/gnutls_algorithms.c
parent183bc93e31faa4d127ce07c4b86b9428612f49eb (diff)
downloadgnutls-aceb9810d60e528e9629ec68799f2e1a76cffa02.tar.gz
Add DTLS1.0 protocol entry.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'lib/gnutls_algorithms.c')
-rw-r--r--lib/gnutls_algorithms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c
index 7c0bf91b54..566b2e0697 100644
--- a/lib/gnutls_algorithms.c
+++ b/lib/gnutls_algorithms.c
@@ -144,6 +144,7 @@ static const gnutls_version_entry sup_versions[] = {
{"TLS1.0", GNUTLS_TLS1, 3, 1, 1},
{"TLS1.1", GNUTLS_TLS1_1, 3, 2, 1},
{"TLS1.2", GNUTLS_TLS1_2, 3, 3, 1},
+ {"DTLS1.0", GNUTLS_DTLS1_0, 254, 255, 1}, /* 1.1 over datagram */
{0, 0, 0, 0, 0}
};
@@ -153,6 +154,7 @@ static const gnutls_protocol_t supported_protocols[] = {
GNUTLS_TLS1,
GNUTLS_TLS1_1,
GNUTLS_TLS1_2,
+ GNUTLS_DTLS1_0,
0
};