valid_cert
int valid_cert(const char *, struct auth *, const struct cert *);
!valid_cert(uri, a, cert)) {
!valid_cert(file, a, cert)) {