Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
881 B

  1. /* Copyright (C) Boris Nikolaus, Germany, 1996-1997. All rights reserved. */
  2. /* Copyright (C) Microsoft Corporation, 1997-1998. All rights reserved. */
  3. #include <windows.h>
  4. #define ASN1LIB
  5. #define MULTI_LEVEL_ZONES
  6. #ifdef ENABLE_ALL
  7. #define ENABLE_BER
  8. #define ENABLE_DOUBLE
  9. #define ENABLE_UTF8
  10. // #define ENABLE_REAL
  11. // #define ENABLE_GENERALIZED_CHAR_STR
  12. // #define ENABLE_EXTERNAL
  13. // #define ENABLE_EMBEDDED_PDV
  14. #define ENABLE_COMPARE
  15. #endif
  16. #include "libasn1.h"
  17. #if ! defined(_DEBUG) && defined(TEST_CODER)
  18. #undef TEST_CODER
  19. #endif
  20. #include "cintern.h"
  21. #include "ms_ut.h"
  22. // making a magic number
  23. #define MAKE_STAMP_ID(a,b,c,d) MAKELONG(MAKEWORD(a,b),MAKEWORD(c,d))
  24. /* magic number for ASN1encoding_t */
  25. #define MAGIC_ENCODER MAKE_STAMP_ID('E','N','C','D')
  26. /* magic number for ASN1decoding_t */
  27. #define MAGIC_DECODER MAKE_STAMP_ID('D','E','C','D')