[Swan-dev] #define conflicts between ietf_constants.h and NSS's blapit.h

Andrew Cagney andrew.cagney at gmail.com
Fri Feb 24 16:47:45 UTC 2017


Here's my hack which explains the problem:

/*
 * In addition to EC_POINT_FORM_UNCOMPRESSED, "blapit.h" things like
 * AES_BLOCK_SIZE which conflicts with "ietf_constants.h".
 */
#if 0
#include "blapit.h"
#else
#define EC_POINT_FORM_UNCOMPRESSED 0x04
#endif

I really wonder if macros like AES_BLOCK_SIZE even belong in ietf_constants.h

Andrew


More information about the Swan-dev mailing list