SET_EXPECT(val); \
}
#define FAIL_NAME \
- (ppkey != NULL ? "key etc." : ppubkey != NULL ? "public key etc." : \
- pparams != NULL ? "params etc." : \
- pcert != NULL ? "cert etc." : pcerts != NULL ? "certs etc." : \
- pcrl != NULL ? "CRL etc." : pcrls != NULL ? "CRLs etc." : NULL)
+ (ppkey != NULL ? "private key" : ppubkey != NULL ? "public key" : \
+ pparams != NULL ? "key parameters" : \
+ pcert != NULL ? "certificate" : pcerts != NULL ? "certificates" : \
+ pcrl != NULL ? "CRL" : pcrls != NULL ? "CRLs" : NULL)
/*
* Load those types of credentials for which the result pointer is not NULL.
* Reads from stdio if uri is NULL and maybe_stdin is nonzero.