From 714f67162a49eb27e900c3bb551b9d36abe03b18 Mon Sep 17 00:00:00 2001 From: tedu <> Date: Tue, 20 Mar 2007 03:40:06 +0000 Subject: remove some bogus *p tests from charles longeau ok deraadt millert --- src/lib/libcrypto/x509v3/v3_utl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/libcrypto/x509v3/v3_utl.c') diff --git a/src/lib/libcrypto/x509v3/v3_utl.c b/src/lib/libcrypto/x509v3/v3_utl.c index 466c91d0e8..f23a8d29a0 100644 --- a/src/lib/libcrypto/x509v3/v3_utl.c +++ b/src/lib/libcrypto/x509v3/v3_utl.c @@ -337,7 +337,7 @@ static char *strip_spaces(char *name) char *p, *q; /* Skip over leading spaces */ p = name; - while(*p && isspace((unsigned char)*p)) p++; + while(isspace((unsigned char)*p)) p++; if(!*p) return NULL; q = p + strlen(p) - 1; while((q != p) && isspace((unsigned char)*q)) q--; -- cgit v1.2.3-55-g6feb