~ubuntu-branches/ubuntu/breezy/openssl/breezy

« back to all changes in this revision

Viewing changes to crypto/rand/rand_egd.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Martin
  • Date: 2004-12-16 18:41:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041216184129-gp6wugpx7s8cy5xz
Tags: 0.9.7e-3
* really fix der_chop. The fix from -1 was not really included (closes:
  #281212) 
* still fixes security problem CAN-2004-0975 etc.
  - tempfile raise condition in der_chop
  - Avoid a race condition when CRLs are checked in a multi threaded 
    environment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
 *   RAND_egd() is a wrapper for RAND_egd_bytes() with numbytes=255.
96
96
 */
97
97
 
98
 
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_VXWORKS)
 
98
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_VOS)
99
99
int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
100
100
        {
101
101
        return(-1);