Skip to content

urandom: use st_ino and st_rdev to determine device uniqueness

Dan Nicholson requested to merge dbnicholson/gnutls:3-3-urandom-fix into gnutls_3_3_x

This is needed to make calling gnutls_global_init() a 2nd time reliable in the case that the application has closed all the fds and the one for /dev/urandom was re-opened with a file of the same mode (e.g., /dev/null).

Edited by Dan Nicholson

Merge request reports

Loading