diff options
author | Federico Lucifredi <flucifredi@acm.org> | 2008-01-13 01:48:15 +0000 |
---|---|---|
committer | Federico Lucifredi <flucifredi@acm.org> | 2008-01-13 01:48:15 +0000 |
commit | 587021b1077f2738497ec015b3da8fff0ad85c72 (patch) | |
tree | 8b710de6e730372973753c955136b75275ae7de1 | |
parent | 005b1c8de531d1f259bc6475ecc1f07f84b5406e (diff) |
look at MAC ordering.
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1701 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r-- | avahi-core/wide-area.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c index 1a4fa38..e6cc770 100644 --- a/avahi-core/wide-area.c +++ b/avahi-core/wide-area.c @@ -801,6 +801,7 @@ AvahiRecord* avahi_tsig_sign_packet(const unsigned char* keyname, const unsigned HMAC_cleanup(&ctx); r->data.tsig.mac = avahi_strndup(keyed_hash, hash_length); + printf("MAC: %s\n", r->data.tsig.mac); return r; } @@ -817,8 +818,8 @@ void avahi_wide_area_publish(AvahiRecord *r, const char *zone, uint16_t id, int AvahiRecord *tsig; /* TODO: in merged version into upstream, key needs to be an external configurable pulled from /etc */ - static const char key[16] = { 0x12, 0xa6, 0x05, 0xcc, 0x38, 0xf9, 0x1f, 0x1e, - 0x24, 0x21, 0x6c, 0xa4, 0xd0, 0x1e, 0x88, 0x38 }; + static const char key[16] = { 0x12, 0xA6, 0x05, 0xCC, 0x38, 0xF9, 0x1F, 0x1E, + 0x24, 0x21, 0x6C, 0xA4, 0xD0, 0x1E, 0x88, 0x38 }; /* TODO: in merged version into upstream, address needs to be an external configurable pulled from /etc */ |