Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Spell `blowfish-cbc' as such, not like `bf-cbc'.



details:   https://anonhg.NetBSD.org/src/rev/9f2169faef6b
branches:  trunk
changeset: 973053:9f2169faef6b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jun 17 20:44:45 2020 +0000

description:
Spell `blowfish-cbc' as such, not like `bf-cbc'.

Gotta match the name we actually use for this to work!

Should fix the cgd blowfish-cbc encblkno8 test failures reported at

https://mail-index.netbsd.org/current-users/2020/06/15/msg038871.html

diffstat:

 sys/dev/cgd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 977a4fbc56a2 -r 9f2169faef6b sys/dev/cgd.c
--- a/sys/dev/cgd.c     Wed Jun 17 14:04:03 2020 +0000
+++ b/sys/dev/cgd.c     Wed Jun 17 20:44:45 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd.c,v 1.134 2020/06/13 22:17:03 riastradh Exp $ */
+/* $NetBSD: cgd.c,v 1.135 2020/06/17 20:44:45 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.134 2020/06/13 22:17:03 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.135 2020/06/17 20:44:45 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -1298,7 +1298,7 @@
        if (encblkno[i].v != CGD_CIPHER_CBC_ENCBLKNO1) {
                if (strcmp(sc->sc_cfuncs->cf_name, "aes-cbc") &&
                    strcmp(sc->sc_cfuncs->cf_name, "3des-cbc") &&
-                   strcmp(sc->sc_cfuncs->cf_name, "bf-cbc")) {
+                   strcmp(sc->sc_cfuncs->cf_name, "blowfish-cbc")) {
                        log(LOG_WARNING, "cgd: %s only makes sense for cbc,"
                            " not for %s; ignoring\n",
                            encblkno[i].n, sc->sc_cfuncs->cf_name);



Home | Main Index | Thread Index | Old Index