diff Meerwald/gen_kund3_sig.c @ 7:2b350281f8b0

fix number of bits written
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Wed, 16 Apr 2008 15:55:52 +0200
parents acb6967ee76d
children f83ef905a63d
line wrap: on
line diff
--- a/Meerwald/gen_kund3_sig.c	Tue Aug 14 21:20:47 2007 +0200
+++ b/Meerwald/gen_kund3_sig.c	Wed Apr 16 15:55:52 2008 +0200
@@ -184,7 +184,7 @@
       exit(1);
     }
     n_signature = strlen(signature);
-    nbit_signature = NBYTESTOBITS(n_signature);
+    n = nbit_signature = NBYTESTOBITS(n_signature);
     fprintf(stderr, "%s: got %d signature bits\n", progname, nbit_signature);
   }
 

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.