Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in ssl.py #9

Closed
GoogleCodeExporter opened this issue May 5, 2015 · 1 comment
Closed

Bug in ssl.py #9

GoogleCodeExporter opened this issue May 5, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi, 

  there seems to be a typo/bug in ssl.py in the SSL2 class.

Unless I'm missing something, lines saying:
            self.pad = self.data[1+n:1+n+pad]
            self.data = self.data[1+n+pad:]

should really say:
            self.pad = self.data[1+n:1+n+padlen]
            self.data = self.data[1+n+padlen:]

HTH

   Jirka

Original issue reported on code.google.com by jirka.ve...@gmail.com on 27 May 2008 at 12:37

@GoogleCodeExporter
Copy link
Author

Good catch, thanks!

Fixed in r46.

Original comment by jon.ober...@gmail.com on 27 May 2008 at 2:08

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant