From c11ae9f6571a8d75c8d5ce739055e6061a9ee4c1 Mon Sep 17 00:00:00 2001
From: Faidon Liambotis <paravoid@debian.org>
Date: Fri, 6 Jul 2018 14:06:17 +0300
Subject: [PATCH] Fix three simple spelling issues

...as identified by Debian's lintian tool.
---
 dtls.c                 | 4 ++--
 radsecproxy.conf.5.xml | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dtls.c b/dtls.c
index 6e82933..a04a7bd 100644
--- a/dtls.c
+++ b/dtls.c
@@ -158,7 +158,7 @@ unsigned char *raddtlsget(SSL *ssl, int timeout, pthread_mutex_t *lock) {
 
     len = RADLEN(buf);
     if (len < 20) {
-        debug(DBG_ERR, "raddtlsget: length too small, malformed packet! closing conneciton!");
+        debug(DBG_ERR, "raddtlsget: length too small, malformed packet! closing connection!");
         return NULL;
     }
     rad = malloc(len);
@@ -421,7 +421,7 @@ void *dtlslistener(void *arg) {
     if ((flags = fcntl(s,F_GETFL)) == -1)
         debugx(1, DBG_ERR, "dtlslistener: failed to get socket flags");
     if (fcntl(s, F_SETFL, flags | O_NONBLOCK) == -1)
-        debugx(1, DBG_ERR, "dtlslistener: faild set set non-blocking");
+        debugx(1, DBG_ERR, "dtlslistener: failed to set non-blocking");
 
     for (;;) {
         fds[0].fd = s;
diff --git a/radsecproxy.conf.5.xml b/radsecproxy.conf.5.xml
index 5c48b3d..35a9603 100644
--- a/radsecproxy.conf.5.xml
+++ b/radsecproxy.conf.5.xml
@@ -256,7 +256,7 @@ blocktype name {
 	    needs FTicksKey to be set.
 	</para>
 	<para>
-	    Before chosing any of <literal>Original</literal>,
+	    Before choosing any of <literal>Original</literal>,
 	    <literal>FullyHashed</literal> or
 	    <literal>VendorHashed</literal>, consider the implications
 	    for user privacy when MAC addresses are collected.  How