diff options
Diffstat (limited to '')
| -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 7a45216c00..2cb53008e3 100644 --- a/src/lib/libcrypto/x509v3/v3_utl.c +++ b/src/lib/libcrypto/x509v3/v3_utl.c | |||
| @@ -344,7 +344,7 @@ static char *strip_spaces(char *name) | |||
| 344 | char *p, *q; | 344 | char *p, *q; |
| 345 | /* Skip over leading spaces */ | 345 | /* Skip over leading spaces */ |
| 346 | p = name; | 346 | p = name; |
| 347 | while(*p && isspace((unsigned char)*p)) p++; | 347 | while(isspace((unsigned char)*p)) p++; |
| 348 | if(!*p) return NULL; | 348 | if(!*p) return NULL; |
| 349 | q = p + strlen(p) - 1; | 349 | q = p + strlen(p) - 1; |
| 350 | while((q != p) && isspace((unsigned char)*q)) q--; | 350 | while((q != p) && isspace((unsigned char)*q)) q--; |
