/* Skip past any leading X. X: X, etc to allow for
* multiple instances
*/
- for (buf = cv->name; *buf; buf++)
- if ((*buf == ':') || (*buf == ', ') || (*buf == '.')) {
- buf++;
- if (*buf)
- type = buf;
- break;
+ for (buf = cv->name; *buf; buf++) {
+ if ((*buf == ':') || (*buf == ',') || (*buf == '.')) {
+ buf++;
+ if (*buf)
+ type = buf;
+ break;
+ }
}
buf = cv->value;
ASN1_GENERALIZEDTIME *comp_time = NULL;
tmp = BUF_strdup(str);
- p = strchr(tmp, ', ');
+ p = strchr(tmp, ',');
rtime_str = tmp;
*p = '\0';
p++;
reason_str = p;
- p = strchr(p, ', ');
+ p = strchr(p, ',');
if (p) {
*p = '\0';
arg_str = p + 1;