]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
crypto: correct typ0 in error message
authorAntonio Quartulli <a@unstable.cc>
Tue, 27 Jun 2017 12:00:47 +0000 (20:00 +0800)
committerGert Doering <gert@greenie.muc.de>
Tue, 27 Jun 2017 14:45:30 +0000 (16:45 +0200)
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <20170627120047.12304-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14975.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 778aca3d251b6a563ffbabef95816fab863825e1)

src/openvpn/crypto.c

index 5f482d08f45a35e3e9af39ab2ef8ef03b3e495c7..db0265c2d94df32bd69aab1accdf2a9e69a810fa 100644 (file)
@@ -1284,7 +1284,7 @@ read_key_file(struct key2 *key2, const char *file, const unsigned int flags)
         fd = platform_open(file, O_RDONLY, 0);
         if (fd == -1)
         {
-            msg(M_ERR, "Cannot open file key file '%s'", file);
+            msg(M_ERR, "Cannot open key file '%s'", file);
         }
         size = read(fd, in.data, in.capacity);
         if (size < 0)