Tidy up openssl header test.

This commit is contained in:
Darren Tucker 2016-04-04 11:09:21 +10:00
parent 815bcac0b9
commit b3413534aa

View File

@ -2392,8 +2392,9 @@ if test "x$openssl" = "xyes" ; then
if(fd == NULL) if(fd == NULL)
exit(1); exit(1);
if ((rc = fprintf(fd ,"%08lx (%s)\n", if ((rc = fprintf(fd, "%08lx (%s)\n",
(unsigned long)OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) (unsigned long)OPENSSL_VERSION_NUMBER,
OPENSSL_VERSION_TEXT)) < 0)
exit(1); exit(1);
exit(0); exit(0);