From ca870b1396a173bbb9752bbe2e69f25fa2c094af 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 9d96f1247..517d9a700 100644 --- a/src/openvpn/crypto.c +++ b/src/openvpn/crypto.c @@ -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); -- 2.47.2