X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/e2edda6866f01a1a9051abedc91c6d5a9d6aa2d8..80be023065ced106a4078a36371c135a60d2bd6c:/rspit.c diff --git a/rspit.c b/rspit.c index 34abb11..148a3d0 100644 --- a/rspit.c +++ b/rspit.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: rspit.c,v 1.21 2004/04/21 00:37:32 mdw Exp $ + * $Id$ * * Spit out random numbers * @@ -619,9 +619,9 @@ static grand *gen_bbs(unsigned i) /* --- Read the key data --- */ - if ((kk->k.e & KF_ENCMASK) != KENC_STRUCT) + if ((kk->k->e & KF_ENCMASK) != KENC_STRUCT) die(EXIT_FAILURE, "key is not structured"); - if ((kd = key_structfind(&kk->k, "n")) == 0) + if ((kd = key_structfind(kk->k, "n")) == 0) die(EXIT_FAILURE, "key has no subkey `n'"); if ((kd->e & KF_ENCMASK) != KENC_MP) die(EXIT_FAILURE, "incompatible subkey encoding");