diff options
Diffstat (limited to 'avahi-core/wide-area.c')
-rw-r--r-- | avahi-core/wide-area.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c index b2d2084..6195a03 100644 --- a/avahi-core/wide-area.c +++ b/avahi-core/wide-area.c @@ -800,7 +800,10 @@ AvahiRecord* tsig_sign_packet(const char* keyname, const char* key, unsigned key return NULL; } - /*HMAC_Update(&ctx, <data/>, <length/>);*/ /*feed all the data to be hashed in */ + /*feed all the data to be hashed in */ + /*HMAC_Update(&ctx, <data/>, <length/>);*/ + HMAC_Update(&ctx, p->data, p->size); + /* HMAC_Update(&ctx, CONTINUE */ HMAC_Final(&ctx, keyed_hash, &hash_length); HMAC_cleanup(&ctx); |