New submission from STINNER Victor:

ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() should raise a ValueError, not a 
SystemError, if num is negative.

Attached patch fixes that.

----------
files: ssl_rand.patch
keywords: patch
messages: 206604
nosy: christian.heimes, haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() don't check if num is 
negative
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file33210/ssl_rand.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20025>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to