This is going to be used to make the old rsa-public and rsa-private
names honour a "hash" dictionary key in the context.
The new generic privcache and keyset machinery will use a fixed hash
so does not pass the dictionary.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
const char *message, va_list args);
bool_t (*postreadcheck)(struct load_ctx *l, FILE *f);
const char *what;
const char *message, va_list args);
bool_t (*postreadcheck)(struct load_ctx *l, FILE *f);
const char *what;
+ dict_t *deprdict; /* used only to look up hash */
struct cloc loc;
union {
struct {
struct cloc loc;
union {
struct {
l->verror=verror_cfgfatal;
l->postreadcheck=0;
l->what="rsa-public";
l->verror=verror_cfgfatal;
l->postreadcheck=0;
l->what="rsa-public";
l->loc=loc;
#define RSAPUB_APPLY_GETBN(ix,en,what) \
l->loc=loc;
#define RSAPUB_APPLY_GETBN(ix,en,what) \
l->verror=verror_tryload;
l->postreadcheck=0;
l->what="rsa1_loadpub";
l->verror=verror_tryload;
l->postreadcheck=0;
l->what="rsa1_loadpub";
l->loc=loc;
l->u.tryload.log=log;
l->loc=loc;
l->u.tryload.log=log;
l->what="rsa1priv load";
l->verror=verror_tryload;
l->postreadcheck=postreadcheck_tryload;
l->what="rsa1priv load";
l->verror=verror_tryload;
l->postreadcheck=postreadcheck_tryload;
l->loc=loc;
l->u.tryload.log=log;
l->loc=loc;
l->u.tryload.log=log;
l->what="rsa-private";
l->verror=verror_cfgfatal;
l->postreadcheck=postreadcheck_apply;
l->what="rsa-private";
l->verror=verror_cfgfatal;
l->postreadcheck=postreadcheck_apply;
l->loc=loc;
/* Argument is filename pointing to SSH1 private key file */
l->loc=loc;
/* Argument is filename pointing to SSH1 private key file */