Close libsodium's internal reference to the random device to avoid fd leak

XMLWordPrintableJSON

    • None
    • None

      It seems that libsodium opens /dev/random and hangs onto the fd, which is not normally a problem, but when running the test suite we dlopen it many times, generating many copies, and they accumulate.

      There is a way to close this handle, even though there's no general shutdown function for the library, so do that when closing the extension.

            Assignee:
            Keith Bostic (Inactive)
            Reporter:
            David Holland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: