Source-Changes-HG archive

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

[src/trunk]: src/crypto/dist/ipsec-tools/src/racoon PR/52292: Shinichi Doyash...



details:   https://anonhg.NetBSD.org/src/rev/39db7f1fc992
branches:  trunk
changeset: 824624:39db7f1fc992
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 11 22:12:56 2017 +0000

description:
PR/52292: Shinichi Doyashiki: Fix reversed comments.

diffstat:

 crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f72bbae79d08 -r 39db7f1fc992 crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c
--- a/crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c       Sun Jun 11 21:54:22 2017 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c       Sun Jun 11 22:12:56 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crypto_openssl.c,v 1.25 2014/02/27 08:37:58 tteras Exp $       */
+/*     $NetBSD: crypto_openssl.c,v 1.26 2017/06/11 22:12:56 christos Exp $     */
 
 /* Id: crypto_openssl.c,v 1.47 2006/05/06 20:42:09 manubsd Exp */
 
@@ -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