config.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From c11dc3a73349fc7d8fa451f9e3a4e3952aa54fd2 Mon Sep 17 00:00:00 2001
  2. From: Georg Koppen <gk@torproject.org>
  3. Date: Wed, 1 Jul 2020 09:57:01 +0000
  4. Subject: [PATCH] Patch for building NSS for application-services
  5. See: application-services/libs/build-all.sh
  6. diff --git a/security/nss/coreconf/config.gypi b/security/nss/coreconf/config.gypi
  7. index 62d3cc71ecaf..dd30de079081 100644
  8. --- a/security/nss/coreconf/config.gypi
  9. +++ b/security/nss/coreconf/config.gypi
  10. @@ -144,6 +144,23 @@
  11. '<(nspr_include_dir)',
  12. '<(nss_dist_dir)/private/<(module)',
  13. ],
  14. + 'defines': [
  15. + 'HMAC_Update=NSS_HMAC_Update',
  16. + 'HMAC_Init=NSS_HMAC_Init',
  17. + 'CMAC_Update=NSS_CMAC_Update',
  18. + 'CMAC_Init=NSS_CMAC_Init',
  19. + 'MD5_Update=NSS_MD5_Update',
  20. + 'SHA1_Update=NSS_SHA1_Update',
  21. + 'SHA256_Update=NSS_SHA256_Update',
  22. + 'SHA224_Update=NSS_SHA224_Update',
  23. + 'SHA512_Update=NSS_SHA512_Update',
  24. + 'SHA384_Update=NSS_SHA384_Update',
  25. + 'SEED_set_key=NSS_SEED_set_key',
  26. + 'SEED_encrypt=NSS_SEED_encrypt',
  27. + 'SEED_decrypt=NSS_SEED_decrypt',
  28. + 'SEED_ecb_encrypt=NSS_SEED_ecb_encrypt',
  29. + 'SEED_cbc_encrypt=NSS_SEED_cbc_encrypt',
  30. + ],
  31. 'conditions': [
  32. [ 'mozpkix_only==1 and OS=="linux"', {
  33. 'include_dirs': [
  34. --
  35. 2.27.0