aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/openssl/openssl_ec.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-22 13:49:43 -0400
committerJack Lloyd <[email protected]>2016-10-22 13:49:43 -0400
commitb5f3744536fc7041282740da07ee8fdd0e874aaa (patch)
treed7818919d71b9157479389e70b175ae45969e436 /src/lib/prov/openssl/openssl_ec.cpp
parent9033015bb94be08dc76f1bc2138cd85500bad831 (diff)
Fix handling of file descriptor zero
If opening /dev/*random resulted in fd 0, we would both not use that RNG and leak the file descriptor. Found with Coverity.
Diffstat (limited to 'src/lib/prov/openssl/openssl_ec.cpp')
0 files changed, 0 insertions, 0 deletions