Skip to contentSkip to conversation

crypto: correct typ0 in error message

PATCH In review Antonio Quartulli 3 participants 3 messages Jun 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: correct typ0 in error message

---
 src/openvpn/crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/crypto.c +1 -1
index 191fee8e..9f2828a4 100644
@@ -1261,7 +1261,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)
Signature · 1 line
2.13.2
#1 lore raw
Quoted 11 lines · Antonio Quartulli
---
 src/openvpn/crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/crypto.c +0 -0
index 191fee8e..9f2828a4 100644

src/openvpn/crypto.c read_key_file(struct key2 *key2, const char *file, const unsigned int flags) · line 1267

Quoted 8 lines
src/openvpn/crypto.c +1 -1
@@ -1261,7 +1261,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)

ACK

(Wow, a 12 year old typo!)

-Steffan

#2 lore raw
In reply to Antonio Quartulli

Your patch has been applied to the master, release/2.4 and release/2.3 branch.

commit 778aca3d251b6a563ffbabef95816fab863825e1 (master) commit d3c0b2b6b743ef8db37f8c63dc77ffe6b421a2df (release/2.4) commit ca870b1396a173bbb9752bbe2e69f25fa2c094af (release/2.3)

Author: Antonio Quartulli
Date:   Tue Jun 27 20:00:47 2017 +0800
     crypto: correct typ0 in error message

     Signed-off-by: Antonio Quartulli <[email protected]...>
     Acked-by: Steffan Karger <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg14975.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering