From cd1e2d3bff92a2d91343541e2cf83287dce87c6f Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 15 Jul 2016 14:47:28 -0400 Subject: Fix SecRandomCopyBytes call with older OS X SDKs In 10.8 (and presumably older) versions, the header for SecRandomCopyBytes is SecRandom.h, and Security.h does not include SecRandom.h With this change, the include of Security.h may be redundant for all versions, but I have no way to test this. GH #528 --- src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/entropy/darwin_secrandom') diff --git a/src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp b/src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp index 4f1ed87bd..0a6b85955 100644 --- a/src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp +++ b/src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp @@ -7,6 +7,7 @@ #include #include +#include namespace Botan { -- cgit v1.2.3