Line 0
Link Here
|
|
|
1 |
--- dcmtls/libsrc/tlslayer.cc.orig 2010-10-14 13:14:46 UTC |
2 |
+++ dcmtls/libsrc/tlslayer.cc |
3 |
@@ -371,7 +371,9 @@ void DcmTLSTransportLayer::seedPRNG(cons |
4 |
#endif |
5 |
if (randFile) |
6 |
{ |
7 |
+#ifndef LIBRESSL_VERSION_NUMBER |
8 |
if (RAND_egd(randFile) <= 0) |
9 |
+#endif |
10 |
{ |
11 |
RAND_load_file(randFile ,-1); |
12 |
} |