Deleted Added
full compact
365a366,385
> int ub_ctx_add_ta_autr(struct ub_ctx* ctx, const char* fname)
> {
> char* dup = strdup(fname);
> if(!dup) return UB_NOMEM;
> lock_basic_lock(&ctx->cfglock);
> if(ctx->finalized) {
> lock_basic_unlock(&ctx->cfglock);
> free(dup);
> return UB_AFTERFINAL;
> }
> if(!cfg_strlist_insert(&ctx->env->cfg->auto_trust_anchor_file_list,
> dup)) {
> lock_basic_unlock(&ctx->cfglock);
> free(dup);
> return UB_NOMEM;
> }
> lock_basic_unlock(&ctx->cfglock);
> return UB_NOERROR;
> }
>
962c982
< while(isxdigit(*parse) || *parse=='.' || *parse==':')
---
> while(isxdigit((unsigned char)*parse) || *parse=='.' || *parse==':')
1034c1054
< while(isxdigit(*parse) || *parse == '.' || *parse == ':')
---
> while(isxdigit((unsigned char)*parse) || *parse == '.' || *parse == ':')