ve_error_set
ve_error_set("ERROR: invalid PEM encoding");
ve_error_set("ERROR: unfinished PEM object");
ve_error_set("ERROR: no certificate in file '%s'\n", fname);
ve_error_set("ERROR: CA decoding failed with error %d\n",
ve_error_set("ERROR: unsupported public key type in CA\n");
int ve_error_set(const char *, ...) __printflike(1,2);
ve_error_set("%s: no entry", path);
ve_error_set("%s: no supported fingerprint", path);
ve_error_set("%s: no supported fingerprint", path);
ve_error_set("%s: no entry", path);
ve_error_set("%s: %.*s != %.*s", path, n, hex, n, want);
ve_error_set(NULL); /* make sure it is empty */
ve_error_set("ERROR: no/invalid certificate chain\n");
ve_error_set("Validation failed, certificate not valid as of %s",
ve_error_set("Validation failed, err = %d",
ve_error_set("Validation failed, %s (%s)",
ve_error_set("cannot read certificates\n");
ve_error_set("Certificate is on forbidden list\n");
ve_error_set("Certificate hash is on forbidden list\n");