summaryrefslogtreecommitdiff
path: root/security/ykclient/patches/patch-hmac.c
blob: ee429dd748de08ac5bfa6566cf0e64721fbe08aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-hmac.c,v 1.1 2016/12/18 21:50:08 joerg Exp $

--- hmac.c.orig	2016-12-18 16:48:04.404560212 +0000
+++ hmac.c
@@ -36,8 +36,8 @@
  *
  */
 int
-hmac (SHAversion whichSha, const unsigned char *text, int text_len,
-      const unsigned char *key, int key_len, uint8_t digest[USHAMaxHashSize])
+ykhmac (SHAversion whichSha, const unsigned char *text, int text_len,
+        const unsigned char *key, int key_len, uint8_t digest[USHAMaxHashSize])
 {
   HMACContext ctx;
   return hmacReset (&ctx, whichSha, key, key_len) ||