From 6f3578cfc836da34c54422504283eff4502a73c9 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Mon, 16 Apr 2012 06:46:01 +0000
Subject: [PATCH] - Report proper error number
---
programs/ssl/ssl_server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/ssl/ssl_server.c b/programs/ssl/ssl_server.c
index 833c74a69..d4798ecbd 100644
--- a/programs/ssl/ssl_server.c
+++ b/programs/ssl/ssl_server.c
@@ -463,7 +463,7 @@ reset:
break;
default:
- printf( " ssl_read returned %d\n", ret );
+ printf( " ssl_read returned -0x%x\n", -ret );
break;
}