Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src-all/rev/4a0394d9dc15
branches:  trunk
changeset: 934738:4a0394d9dc15
user:      Taylor R Campbell <riastradh%NetBSD.org@localhost>
date:      Wed Jun 17 20:00:14 2020 +0000

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

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

diffstat:

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

diffs (12 lines):

diff -r 9d717769d8e9 -r 4a0394d9dc15 sys/dev/cgd.c
--- a/sys/dev/cgd.c     Mon Jun 15 01:24:20 2020 +0000
+++ b/sys/dev/cgd.c     Wed Jun 17 20:00:14 2020 +0000
@@ -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