summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2019-02-22 00:50:11 +0100
committerMichael Brown2019-03-06 16:11:18 +0100
commit799781f1683ef4e0e331a39556e9687c4311ad3e (patch)
treeb33deea26a405e983ef5290050b0ee445ad18b1b
parent[tls] Support stateful session resumption (diff)
downloadipxe-799781f1683ef4e0e331a39556e9687c4311ad3e.tar.gz
ipxe-799781f1683ef4e0e331a39556e9687c4311ad3e.tar.xz
ipxe-799781f1683ef4e0e331a39556e9687c4311ad3e.zip
[tls] Fix incorrectly duplicated error number
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/net/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tls.c b/src/net/tls.c
index a2f1f652..43fe4b4d 100644
--- a/src/net/tls.c
+++ b/src/net/tls.c
@@ -104,7 +104,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
"Invalid MAC" )
#define EIO_ALERT __einfo_error ( EINFO_EIO_ALERT )
#define EINFO_EIO_ALERT \
- __einfo_uniqify ( EINFO_EINVAL, 0x01, \
+ __einfo_uniqify ( EINFO_EIO, 0x01, \
"Unknown alert level" )
#define ENOMEM_CONTEXT __einfo_error ( EINFO_ENOMEM_CONTEXT )
#define EINFO_ENOMEM_CONTEXT \