~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math/fgoldi.[ch]: Implement the extra operations needed for Ed448.
[catacomb]
/
progs
/
catsign.c
diff --git
a/progs/catsign.c
b/progs/catsign.c
index
48f8fcb
..
7db8aa2
100644
(file)
--- a/
progs/catsign.c
+++ b/
progs/catsign.c
@@
-394,7
+394,6
@@
static void sigtobuffer(sigmsg *s, buf *b, int hashp)
static void dohash(ghash *h, const void *p, size_t n)
{
static void dohash(ghash *h, const void *p, size_t n)
{
-/* trace_block(1, "hashing", p, n); */
GH_HASH(h, p, n);
}
GH_HASH(h, p, n);
}
@@
-437,7
+436,7
@@
static void sig_writesig(enc *e, sigmsg *s)
{ chunk_write(e, s->sig.buf, s->sig.len); }
static void diechoke(const char *m, void *p)
{ chunk_write(e, s->sig.buf, s->sig.len); }
static void diechoke(const char *m, void *p)
- { die(EXIT_FAILURE, "%s%s%s", p, p ? ": " : "", m); }
+ { die(EXIT_FAILURE, "%s%s%s",
(const char *)
p, p ? ": " : "", m); }
static void sig_readheader(enc *e, sigmsg *s,
void (*choke)(const char *, void *), void *p)
static void sig_readheader(enc *e, sigmsg *s,
void (*choke)(const char *, void *), void *p)
@@
-536,7
+535,7
@@
static int sign(int argc, char *argv[])
ofp = stdout;
else if ((ofp = fopen(of, eo->wmode)) == 0) {
die(EXIT_FAILURE, "couldn't open file `%s' for output: %s",
ofp = stdout;
else if ((ofp = fopen(of, eo->wmode)) == 0) {
die(EXIT_FAILURE, "couldn't open file `%s' for output: %s",
- of
p
, strerror(errno));
+ of, strerror(errno));
}
/* --- Start the work --- */
}
/* --- Start the work --- */
@@
-1220,7
+1219,6
@@
int main(int argc, char *argv[])
sub_init();
rand_noisesrc(RAND_GLOBAL, &noise_source);
rand_seed(RAND_GLOBAL, 160);
sub_init();
rand_noisesrc(RAND_GLOBAL, &noise_source);
rand_seed(RAND_GLOBAL, 160);
-/* trace_on(stderr, 1); */
/* --- Parse options --- */
/* --- Parse options --- */