• Petr Špaček's avatar
    lua: properly initialize random number generator · 4b7050ba
    Petr Špaček authored
    Formerly multiple instances could use the same seed,
    which prevented the retry logic in Lua modules (e.g. prefill) from
    retrying at different times.
    
    AFAIK security impact is zero aside from potential thundering-herd
    problem with many kresd instances.
    4b7050ba