Details
Description
A user reported to MacPorts that the build fails on case-sensitive filesystems:
src/mongo/crypto/sha_block_apple.cpp:32:10: fatal error: 'CommonCrypto/CommonHmac.h' file not found
|
#include <CommonCrypto/CommonHmac.h>
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
1 error generated.
|
This is fixed with a simple change of case:
--- src/mongo/crypto/sha_block_apple.cpp.orig 2018-09-25 16:56:42.000000000 -0500
|
+++ src/mongo/crypto/sha_block_apple.cpp 2018-10-11 19:28:57.000000000 -0500
|
@@ -29,7 +29,7 @@
|
#include "mongo/platform/basic.h"
|
|
#include <CommonCrypto/CommonDigest.h>
|
-#include <CommonCrypto/CommonHmac.h>
|
+#include <CommonCrypto/CommonHMAC.h>
|
|
#include "mongo/crypto/sha1_block.h"
|
#include "mongo/crypto/sha256_block.h"
|