Browse Source

[tls] Fix incorrectly duplicated error number

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 5 years ago
parent
commit
799781f168
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/tls.c

+ 1
- 1
src/net/tls.c View File

@@ -104,7 +104,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
104 104
 			  "Invalid MAC" )
105 105
 #define EIO_ALERT __einfo_error ( EINFO_EIO_ALERT )
106 106
 #define EINFO_EIO_ALERT							\
107
-	__einfo_uniqify ( EINFO_EINVAL, 0x01,				\
107
+	__einfo_uniqify ( EINFO_EIO, 0x01,				\
108 108
 			  "Unknown alert level" )
109 109
 #define ENOMEM_CONTEXT __einfo_error ( EINFO_ENOMEM_CONTEXT )
110 110
 #define EINFO_ENOMEM_CONTEXT						\

Loading…
Cancel
Save