Edit

IABSD.fr/src/lib/libexpat/expat_config.h

Branch :

  • Show log

    Commit

  • Author : bluhm
    Date : 2019-06-29 00:33:59
    Hash : 04da3532
    Message : Update libexpat to 2.2.7. Relevant for OpenBSD is only the fix for CVE-2018-20843, a potential denial-of-service in libexpat due to high RAM and CPU usage. OK deraadt@

  • lib/libexpat/expat_config.h
  • /* $OpenBSD: expat_config.h,v 1.5 2019/06/29 00:33:59 bluhm Exp $ */
    
    /* quick and dirty conf for OpenBSD */
    
    #define HAVE_ARC4RANDOM 1
    #define HAVE_ARC4RANDOM_BUF 1
    #define XML_CONTEXT_BYTES 1024
    #define XML_DTD 1
    #define XML_NS 1
    
    #include <endian.h>
    #if BYTE_ORDER == LITTLE_ENDIAN
    #define BYTEORDER 1234
    #elif BYTE_ORDER == BIG_ENDIAN
    #define BYTEORDER 4321
    #else
    #error "unknown byte order"
    #endif