php-src/ext/sodium
Keyur Govande 695b8192c7 Avoid leaking the urandom fd
When Apache is reloaded, it unloads the extension, but the open file descriptor to /dev/urandom is left hanging around and is leaked. This fixes the bug.

Duplicate of https://github.com/jedisct1/libsodium-php/pull/173
2018-06-08 23:01:57 +02:00
..
tests ext/sodium: untab tests 2017-10-02 22:28:46 +02:00
config.m4 sodium ext: require libsodium >= 1.0.8 2017-07-22 22:07:53 +02:00
config.w32 fix symbol availability and ws 2017-07-11 09:54:36 +02:00
CREDITS
libsodium.c Avoid leaking the urandom fd 2018-06-08 23:01:57 +02:00
libsodium.php
php_libsodium.h year++ 2018-01-02 12:55:14 +08:00
README.md

Build Status

libsodium-php

A simple, low-level PHP extension for libsodium.

Full documentation here: Using Libsodium in PHP Projects, a guide to using the libsodium PHP extension for modern, secure, and fast cryptography.