From d3c0b2b6b743ef8db37f8c63dc77ffe6b421a2df Mon Sep 17 00:00:00 2001
From: Antonio Quartulli
Date: Tue, 27 Jun 2017 20:00:47 +0800
Subject: [PATCH] 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)
---
src/openvpn/crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
2.47.2