Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/cgdconfig back out revision 1.3. this should not have b...



details:   https://anonhg.NetBSD.org/src/rev/7c3a0f779579
branches:  trunk
changeset: 552401:7c3a0f779579
user:      cb <cb%NetBSD.org@localhost>
date:      Thu Sep 25 01:43:12 2003 +0000

description:
back out revision 1.3. this should not have been committed yet,
since it breaks backward compatibility.

noticed by recht@

diffstat:

 sbin/cgdconfig/pkcs5_pbkdf2.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c5e43cc6d721 -r 7c3a0f779579 sbin/cgdconfig/pkcs5_pbkdf2.c
--- a/sbin/cgdconfig/pkcs5_pbkdf2.c     Thu Sep 25 01:35:25 2003 +0000
+++ b/sbin/cgdconfig/pkcs5_pbkdf2.c     Thu Sep 25 01:43:12 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pkcs5_pbkdf2.c,v 1.3 2003/09/23 17:24:46 cb Exp $ */
+/* $NetBSD: pkcs5_pbkdf2.c,v 1.4 2003/09/25 01:43:12 cb Exp $ */
 
 /*-
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: pkcs5_pbkdf2.c,v 1.3 2003/09/23 17:24:46 cb Exp $");
+__RCSID("$NetBSD: pkcs5_pbkdf2.c,v 1.4 2003/09/25 01:43:12 cb Exp $");
 #endif
 
 #include <sys/resource.h>
@@ -150,7 +150,7 @@
 
        /* Step 3 */
        for (i=0; i < l; i++)
-               prf_iterate(*r + (PRF_BLOCKLEN * i), P, Plen, S, Slen, c, i+1);
+               prf_iterate(*r + (PRF_BLOCKLEN * i), P, Plen, S, Slen, c, i);
 
        /* Step 4 and 5
         *  by the structure of the code, we do not need to concatenate



Home | Main Index | Thread Index | Old Index