libldap: libressl RAND_egd() patch.
This commit is contained in:
parent
523fe84a1a
commit
7162c6a20a
|
@ -0,0 +1,15 @@
|
||||||
|
--- libraries/libldap/tls_o.c.orig 2014-07-15 18:08:35.841431410 +0200
|
||||||
|
+++ libraries/libldap/tls_o.c 2014-07-15 18:09:10.681720371 +0200
|
||||||
|
@@ -1128,10 +1128,11 @@ tlso_seed_PRNG( const char *randfile )
|
||||||
|
* The fact is that when $HOME is NULL, .rnd is used.
|
||||||
|
*/
|
||||||
|
randfile = RAND_file_name( buffer, sizeof( buffer ) );
|
||||||
|
-
|
||||||
|
+#ifdef HAVE_SSL_RAND_EGD
|
||||||
|
} else if (RAND_egd(randfile) > 0) {
|
||||||
|
/* EGD socket */
|
||||||
|
return 0;
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
if (randfile == NULL) {
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libldap'
|
# Template file for 'libldap'
|
||||||
pkgname=libldap
|
pkgname=libldap
|
||||||
version=2.4.38
|
version=2.4.38
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="openldap-${version}"
|
wrksrc="openldap-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-dynamic --enable-proctitle --with-tls
|
configure_args="--enable-dynamic --enable-proctitle --with-tls
|
||||||
|
|
Loading…
Reference in New Issue