[Date Prev][Date Next] [Chronological] [Thread] [Top]

RAND_egd support in libraries/libldap/tls.c (ITS#2206)



Full_Name: Albert Chin-A-Young
Version: 2.1.8
OS: Solaris 8/SPARC
URL: ftp://ftp.openldap.org/incoming/chinayoung-021126.ext
Submission from: (NULL) (67.89.104.162)


tls_seed_PRNG seems overly hairy:
  1. "random" is declared as const char * yet you assign to it.
  2. You treat an input path different from a path retrieved by
     RAND_file_name. Why?

I've created a patch to clean up the above.