Module Name: src Committed By: riastradh Date: Wed Jun 17 20:44:46 UTC 2020
Modified Files: src/sys/dev: cgd.c Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 src/sys/dev/cgd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/cgd.c diff -u src/sys/dev/cgd.c:1.134 src/sys/dev/cgd.c:1.135 --- src/sys/dev/cgd.c:1.134 Sat Jun 13 22:17:03 2020 +++ src/sys/dev/cgd.c Wed Jun 17 20:44:45 2020 @@ -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 @@ cgd_ioctl_set(struct cgd_softc *sc, void 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);