Latest update.
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#ifndef HEADER_TU_OUTPUT_H
|
||||
# define HEADER_TU_OUTPUT_H
|
||||
#ifndef OSSL_TESTUTIL_OUTPUT_H
|
||||
# define OSSL_TESTUTIL_OUTPUT_H
|
||||
|
||||
# include <stdarg.h>
|
||||
|
||||
@@ -53,4 +53,4 @@ int test_printf_stderr(const char *fmt, ...)
|
||||
# undef ossl_test__printf__
|
||||
# undef ossl_test__attr__
|
||||
|
||||
#endif /* HEADER_TU_OUTPUT_H */
|
||||
#endif /* OSSL_TESTUTIL_OUTPUT_H */
|
||||
@@ -72,7 +72,7 @@ static char *strip_spaces(char *p)
|
||||
/* Skip over leading spaces */
|
||||
while (*p && isspace((unsigned char)*p))
|
||||
p++;
|
||||
if (!*p)
|
||||
if (*p == '\0')
|
||||
return NULL;
|
||||
|
||||
for (q = p + strlen(p) - 1; q != p && isspace((unsigned char)*q); )
|
||||
|
||||
Reference in New Issue
Block a user