Skip to content

Commit

Permalink
Merge pull request #468 from lsst/u/fritzm/osx-openssl-fix
Browse files Browse the repository at this point in the history
Use CommonCrypto header instead of openssl for SHA on OSX
  • Loading branch information
abh3 committed Feb 17, 2017
2 parents c4577aa + 8fa35c1 commit 48ed704
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/XrdSec/XrdSecProtect.cc
Expand Up @@ -35,7 +35,12 @@
#include <sys/types.h>
#include <sys/uio.h>

#ifdef __APPLE__
#define COMMON_DIGEST_FOR_OPENSSL
#include "CommonCrypto/CommonDigest.h"
#else
#include "openssl/sha.h"
#endif

#include "XrdVersion.hh"

Expand Down

0 comments on commit 48ed704

Please sign in to comment.