From: Antonio Quartulli
Date: Tue, 27 Jun 2017 12:00:47 +0000 (+0800)
Subject: crypto: correct typ0 in error message
X-Git-Tag: v2.4.4~63
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3c0b2b6b743ef8db37f8c63dc77ffe6b421a2df;p=thirdparty%2Fopenvpn.git
crypto: correct typ0 in error message
Signed-off-by: Antonio Quartulli
Acked-by: Steffan Karger
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
(cherry picked from commit 778aca3d251b6a563ffbabef95816fab863825e1)
---
diff --git a/src/openvpn/crypto.c b/src/openvpn/crypto.c
index 5f482d08f..db0265c2d 100644
--- a/src/openvpn/crypto.c
+++ b/src/openvpn/crypto.c
@@ -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)