• Nikos Mavrogiannopoulos's avatar
    rng: split initialization in preinit and init · e4c739fe
    Nikos Mavrogiannopoulos authored
    This makes gnutls to initialize its random generator on the
    first call to gnutls_rnd(). That prevents blocking due to
    getrandom() on a constructor; that change allows to use gnutls-linked
    applications even in early boot in systems where getrandom() blocks
    waiting for entropy.
locks.h 2.29 KB