hash.hon commit check-ref-format: release strbuf after use in check_ref_format_branch() (861e655)
   1#ifndef HASH_H
   2#define HASH_H
   3
   4#if defined(SHA1_PPC)
   5#include "ppc/sha1.h"
   6#elif defined(SHA1_APPLE)
   7#include <CommonCrypto/CommonDigest.h>
   8#elif defined(SHA1_OPENSSL)
   9#include <openssl/sha.h>
  10#elif defined(SHA1_DC)
  11#ifdef DC_SHA1_SUBMODULE
  12#include "sha1collisiondetection/lib/sha1.h"
  13#else
  14#include "sha1dc/sha1.h"
  15#endif
  16#else /* SHA1_BLK */
  17#include "block-sha1/sha1.h"
  18#endif
  19
  20#endif