From: Anders Kaseorg Date: Fri, 31 Jul 2015 05:35:05 +0000 (-0400) Subject: rfc3961: prototype _krb5_internal_hmac X-Git-Tag: openafs-stable-1_8_0pre1~297 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=38bd5def2a90303b6bb07926f99d0ab095ba96c0 rfc3961: prototype _krb5_internal_hmac Resolves this warning: src/external/heimdal/krb5/crypto-arcfour.c: In function ‘_oafs_h__krb5_HMAC_MD5_checksum’: src/external/heimdal/krb5/crypto-arcfour.c:82:5: warning: implicit declaration of function ‘_oafs_h__krb5_internal_hmac’ [-Wimplicit-function-declaration] ret = _krb5_internal_hmac(context, c, signature, sizeof(signature), ^ Change-Id: I10f028b8a0e1756cb1f1638a061616db0e76779e Reviewed-on: http://gerrit.openafs.org/11953 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- diff --git a/src/crypto/rfc3961/krb5_locl.h b/src/crypto/rfc3961/krb5_locl.h index 7f48d89..5e9d46b 100644 --- a/src/crypto/rfc3961/krb5_locl.h +++ b/src/crypto/rfc3961/krb5_locl.h @@ -300,6 +300,14 @@ krb5_error_code _krb5_SP_HMAC_SHA1_checksum (krb5_context, void _krb5_xor(DES_cblock *key, const unsigned char *b); +krb5_error_code _krb5_internal_hmac(krb5_context context, + struct _krb5_checksum_type *cm, + const void *data, + size_t len, + unsigned usage, + struct _krb5_key_data *keyblock, + Checksum *result); + #ifdef KERNEL /* * Ew, gross!