commit - ff05125eb81e5bbf2cf05b8434d03bce584936e0
commit + 7fa6717647863ac5c63126329c52336409712353
blob - f53733459a801eae947a653fa96e1a69b781ba6e
blob + 6e8f27e0b82508caaf82af626add717f2bf23d20
--- gmid.c
+++ gmid.c
fatal("failed to load the keypair (%s, %s)",
h->cert, h->key);
} else {
- if (tls_config_add_keypair_ocsp_file(tlsconf, h->cert, h->key, h->ocsp) == -1)
+ if (tls_config_add_keypair_ocsp_file(tlsconf, h->cert, h->key,
+ h->ocsp) == -1)
fatal("failed to load the keypair (%s, %s, %s)",
h->cert, h->key, h->ocsp);
}
if (tls_config_set_keypair_file(tlsconf, h->cert, h->key))
fatal("tls_config_set_keypair_file failed for (%s, %s)",
h->cert, h->key);
+
+ /* same for OCSP */
if (h->ocsp != NULL &&
tls_config_set_ocsp_staple_file(tlsconf, h->ocsp) == -1)
fatal("tls_config_set_ocsp_staple_file failed for (%s)",