Fix Padding() packet class (broken after pull request #18)

#88 Merged at 6cb2a00
Repository
p-l
Branch
fix-padding-after-pull-request-18
Repository
secdev
Branch
default
Author
  1. Pierre Lalet
Reviewers
Description

As @Guillaume Valadon noticed, pull request #18 has broken Padding() behavior:

Before this patch:

    >>> str(Padding('abc'))
    'abcabc'

After this patch:

>>> str(Padding('abc'))
'abc'

This replaces pull request #87.

Comments (1)