diff options
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_utl.c')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_utl.c | 2 |
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--; |