Make sure library errors are not treated as fatal 19/74419/3
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 13 Jun 2016 14:29:43 +0000 (16:29 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 14 Jun 2016 14:31:35 +0000 (16:31 +0200)
commit6d708b68bad86163b9b1393b52bc6e3747adfe6c
treecf9084fdcc01d54bc140e0d56640c9c3a8fdbde1
parent5cf03a65e98469da6b1ae7d75772aa7f6c71f2ce
Make sure library errors are not treated as fatal

Openssl defines a bit flag ERR_R_FATAL = 64 which may be used with common error
reasons (ERR_R_...). However, it's possible that library specific error reasons
(>99) have the bit set as well. ERR_FATAL_ERROR macro doesn't check it. Check
added.

Change-Id: I92b8b1011d0d22b84ec7e43f53bc60431cfe17fd
src/debug.c