]> 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:46:51 +0000 (16:46 +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 9d96f1247a67a8a3df29a02276c8d7ad9126396a..517d9a700ba8ffc9fce4dfc8f99171cbd6965413 100644 (file)
@@ -905,7 +905,7 @@ read_key_file (struct key2 *key2, const char *file, const unsigned int flags)
       in = alloc_buf_gc (2048, &gc);
       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)
        msg (M_FATAL, "Read error on key file ('%s')", file);