pkgsrc/devel/bglibs/patches/patch-include_hmac.h
schmonz 4203dd9b79 Update to 2.03. From the changelog:
- Reverted libbg-cli back to static linkage (for now) to fix problem
  with cli-generate generated code.
- Fixed header include path in cli-generate.
- Rewrote iobuf and str number formatting using fmt.
- Added missing selftest.c file to the dist tarball (oops).
- Fixed uint##.h headers.
- Flattened out the installed headers and libraries.
  NOTE: This means this package is not backwards compatible.
- Added dns library (modified from public domain djbdns-1.05)
- Added wildcard handling and substitution to bg-installer.
- Added reversed IPv4 formatting functions (from Jorge Valdes).
- Added str_end* and str_case_end* functions, parallel to str_start* and
  str_case_start* but for suffixes.
- Added the ability to use arbitrary format functions in fmt_multi.
- Added support for enumerate and itemize in cli-generate.
- Added surfrand_uniform function, protected against bias.
2017-01-02 02:18:30 +00:00

15 lines
499 B
C

$NetBSD: patch-include_hmac.h,v 1.1 2017/01/02 02:18:30 schmonz Exp $
Rename hmac to bghmac.
--- include/hmac.h.orig 2015-02-06 23:57:34.000000000 +0000
+++ include/hmac.h
@@ -34,7 +34,7 @@ extern void hmac_finish(const struct hma
const void* midstate,
const struct str* nonce,
void* outout);
-extern void hmac(const struct hmac_control_block* hcb,
+extern void bghmac(const struct hmac_control_block* hcb,
const struct str* secret,
const struct str* nonce,
void* output);