projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dh_kcdsagen: Generate cofactor first.
[u/mdw/catacomb]
/
rspit.c
diff --git
a/rspit.c
b/rspit.c
index
e9d5c29
..
148a3d0
100644
(file)
--- a/
rspit.c
+++ b/
rspit.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id
: rspit.c,v 1.20 2004/04/08 01:36:15 mdw Exp
$
+ * $Id$
*
* Spit out random numbers
*
*
* Spit out random numbers
*
@@
-619,12
+619,12
@@
static grand *gen_bbs(unsigned i)
/* --- Read the key data --- */
/* --- 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");
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, "key has no subkey `n'");
if ((kd->e & KF_ENCMASK) != KENC_MP)
- die(EXIT_FAILURE, "incomatible subkey encoding");
+ die(EXIT_FAILURE, "incom
p
atible subkey encoding");
m = MP_COPY(kd->u.m);
key_close(&kf);
} else {
m = MP_COPY(kd->u.m);
key_close(&kf);
} else {