Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r88706:402299f61542 Date: 2016-11-28 17:02 +0100 http://bitbucket.org/pypy/pypy/changeset/402299f61542/
Log: kill this 'if 0' path for VMS diff --git a/rpython/rlib/rurandom.py b/rpython/rlib/rurandom.py --- a/rpython/rlib/rurandom.py +++ b/rpython/rlib/rurandom.py @@ -75,16 +75,6 @@ return rffi.charpsize2str(rffi.cast(rffi.CCHARP, buf), n) -elif 0: # __VMS - from rpython.rlib.ropenssl import libssl_RAND_pseudo_bytes - def init_urandom(): - pass - - def urandom(context, n): - with rffi.scoped_alloc_buffer(n) as buf: - if libssl_RAND_pseudo_bytes(self.raw, n) < 0: - raise ValueError("RAND_pseudo_bytes") - return buf.str(n) else: # Posix implementation @not_rpython def init_urandom(): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit