summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3
diff options
context:
space:
mode:
authortedu <>2007-03-20 03:40:06 +0000
committertedu <>2007-03-20 03:40:06 +0000
commit714f67162a49eb27e900c3bb551b9d36abe03b18 (patch)
tree3bdf69ac25a44984b5e36eec230a5ee2584def49 /src/lib/libcrypto/x509v3
parent74cd9effea31702c4f9012a69b773916cbe4f4eb (diff)
downloadopenbsd-714f67162a49eb27e900c3bb551b9d36abe03b18.tar.gz
openbsd-714f67162a49eb27e900c3bb551b9d36abe03b18.tar.bz2
openbsd-714f67162a49eb27e900c3bb551b9d36abe03b18.zip
remove some bogus *p tests from charles longeau
ok deraadt millert
Diffstat (limited to 'src/lib/libcrypto/x509v3')
-rw-r--r--src/lib/libcrypto/x509v3/v3_utl.c2
1 files changed, 1 insertions, 1 deletions
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)
337 char *p, *q; 337 char *p, *q;
338 /* Skip over leading spaces */ 338 /* Skip over leading spaces */
339 p = name; 339 p = name;
340 while(*p && isspace((unsigned char)*p)) p++; 340 while(isspace((unsigned char)*p)) p++;
341 if(!*p) return NULL; 341 if(!*p) return NULL;
342 q = p + strlen(p) - 1; 342 q = p + strlen(p) - 1;
343 while((q != p) && isspace((unsigned char)*q)) q--; 343 while((q != p) && isspace((unsigned char)*q)) q--;