svn commit: r346626 - head/tests/sys/opencrypto

Enji Cooper ngie at FreeBSD.org
Wed Apr 24 05:49:49 UTC 2019


Author: ngie
Date: Wed Apr 24 05:49:48 2019
New Revision: 346626
URL: https://svnweb.freebsd.org/changeset/base/346626

Log:
  Fix typo: `Plen` should be `plen`
  
  MFC after:	1 month
  MFC with:	r346617
  Reported by:	pylint -E

Modified:
  head/tests/sys/opencrypto/cryptotest.py

Modified: head/tests/sys/opencrypto/cryptotest.py
==============================================================================
--- head/tests/sys/opencrypto/cryptotest.py	Wed Apr 24 05:47:09 2019	(r346625)
+++ head/tests/sys/opencrypto/cryptotest.py	Wed Apr 24 05:49:48 2019	(r346626)
@@ -307,7 +307,7 @@ def GenTestCase(cname):
                         aad, tag)
 
                     payload = data['Payload'].decode('hex')
-                    Plen = int(data('Plen'))
+                    plen = int(data('Plen'))
                     payload = payload[:plen]
                     self.assertEqual(r, payload,
                         "Count " + data['Count'] + \


More information about the svn-src-head mailing list