NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/52292: racoon may have an ancient typo in comments
>Number: 52292
>Category: bin
>Synopsis: racoon may have an ancient typo in comments
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 11 21:55:00 +0000 2017
>Originator: Shinichi Doyashiki
>Release: NetBSD 7.99.75
>Organization:
at home
>Environment:
System: NetBSD kanako.csel.org 7.99.75 NetBSD 7.99.75 (KANAKO) #6: Sat Jun 3 23:40:16 JST 2017 clare%kanako.csel.org@localhost:/export/stage/hack/sys/arch/amd64/compile/KANAKO amd64
Architecture: x86_64
Machine: amd64
>Description:
racoon may have an ancient typo in comments.
>How-To-Repeat:
see the source around following patch.
>Fix:
cvs diff: Diffing .
Index: crypto_openssl.c
===================================================================
RCS file: /export/cvsroot/netbsd/src/crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c,v
retrieving revision 1.25
diff -u -r1.25 crypto_openssl.c
--- crypto_openssl.c 27 Feb 2014 08:37:58 -0000 1.25
+++ crypto_openssl.c 11 Jun 2017 21:41:40 -0000
@@ -1268,7 +1268,7 @@
if ((res = vmalloc(data->l)) == NULL)
return NULL;
- /* decryption data */
+ /* encrypt data */
idea_cbc_encrypt((unsigned char *)data->v, (unsigned char *)res->v, data->l,
&ks, (unsigned char *)iv->v, IDEA_ENCRYPT);
@@ -1366,7 +1366,7 @@
if ((res = vmalloc(data->l)) == NULL)
return NULL;
- /* decryption data */
+ /* encrypt data */
RC5_32_cbc_encrypt((unsigned char *)data->v, (unsigned char *)res->v, data->l,
&ks, (unsigned char *)iv->v, RC5_ENCRYPT);
Home |
Main Index |
Thread Index |
Old Index