aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2019-02-21 23:50:11 +0000
committerMichael Brown <mcb30@ipxe.org>2019-03-06 15:11:18 +0000
commit799781f1683ef4e0e331a39556e9687c4311ad3e (patch)
treeb33deea26a405e983ef5290050b0ee445ad18b1b
parent272fe32529103dd39875a9fbed5cfdf1a059e294 (diff)
downloadipxe-799781f1683ef4e0e331a39556e9687c4311ad3e.zip
ipxe-799781f1683ef4e0e331a39556e9687c4311ad3e.tar.gz
ipxe-799781f1683ef4e0e331a39556e9687c4311ad3e.tar.bz2
[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 a2f1f65..43fe4b4 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 \