X509_NAME_get_text_by_NID() returns -1 on error so the type
authorjsg <jsg@openbsd.org>
Sun, 3 Aug 2014 14:35:30 +0000 (14:35 +0000)
committerjsg <jsg@openbsd.org>
Sun, 3 Aug 2014 14:35:30 +0000 (14:35 +0000)
commit1d9a49ee3cbfe6b7022d3e7a52212ff051023cf8
treef3057a65e443419db755d857d67b08828b1bbe67
parent2892b218eb7573dc71aef2dceef1dcd1e4ff3d17
X509_NAME_get_text_by_NID() returns -1 on error so the type
the return value is stored in must be signed.  Fixes a test for error.

ok jsing@ guenther@
lib/libressl/ressl_verify.c