[Bug 234808] www/elinks: Fix ssl initialization on newer openssl/libressl without EGD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 9 23:47:35 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234808

            Bug ID: 234808
           Summary: www/elinks: Fix ssl initialization on newer
                    openssl/libressl without EGD
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://repo.or.cz/elinks.git/blobdiff/6eba447e8ae12ca
                    cac3b479c7148d189bea3e8ea..f4a58ba3b574a478fd5954ba2c5
                    b29e8b809ff9b:/src/network/ssl/ssl.c
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: beat at FreeBSD.org
          Reporter: dereks at lifeofadishwasher.com
             Flags: maintainer-feedback?(beat at FreeBSD.org)
          Assignee: beat at FreeBSD.org

Created attachment 200969
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200969&action=edit
Allow RAND_file_name() to init. f_randfile

For newer openssl/libressl when RAND_egd is disabled
patch-src_network_ssl_ssl.c removed RAND_egd() and the RAND_file_name()
leaving f_randfile uninitialized resulting odd files in $HOME/ when
elinks initialized ssl.

        $ ls -ld $'\x01'
        -rw-------  1 dereks  wheel  1024 Jan  9 18:24 ?

The file should be ~/.rnd set but RAND_file_name()

Fixed upstram is but this commit:
https://repo.or.cz/elinks.git/blobdiff/6eba447e8ae12cacac3b479c7148d189bea3e8ea..f4a58ba3b574a478fd5954ba2c5b29e8b809ff9b:/src/network/ssl/ssl.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list