Use the new MAC keysize names.
authormdw <mdw>
Thu, 19 Apr 2001 18:26:13 +0000 (18:26 +0000)
committermdw <mdw>
Thu, 19 Apr 2001 18:26:13 +0000 (18:26 +0000)
rspit.c

diff --git a/rspit.c b/rspit.c
index 26fd888..f4083f6 100644 (file)
--- a/rspit.c
+++ b/rspit.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: rspit.c,v 1.14 2001/02/21 20:03:22 mdw Exp $
+ * $Id: rspit.c,v 1.15 2001/04/19 18:26:13 mdw Exp $
  *
  * Spit out random numbers
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: rspit.c,v $
+ * Revision 1.15  2001/04/19 18:26:13  mdw
+ * Use the new MAC keysize names.
+ *
  * Revision 1.14  2001/02/21 20:03:22  mdw
  * Added support for MD2 hash function.
  *
@@ -727,7 +730,7 @@ static grand *gen_rand(unsigned i)
     switch (o) {
       case 'k':
        DRESET(&d);
-       textkey(&d, optarg, rmd160_mackeysz);
+       textkey(&d, optarg, rmd160_hmackeysz);
        r->ops->misc(r, RAND_KEY, d.buf, d.len);
        break;
       case 't':
@@ -735,7 +738,7 @@ static grand *gen_rand(unsigned i)
        break;
       case 'H':
        DRESET(&d);
-       hexkey(&d, optarg, rmd160_mackeysz);
+       hexkey(&d, optarg, rmd160_hmackeysz);
        r->ops->misc(r, GRAND_SEEDBLOCK, d.buf, d.len);
        break;
     }