Update CURVE mechanism to the latest ZAP revision

This commit is contained in:
Martin Hurton
2013-07-18 09:39:19 +02:00
parent 7541debe6d
commit d65231be1c
5 changed files with 36 additions and 9 deletions

View File

@@ -29,6 +29,7 @@ zap_handler (void *zap)
char *version = s_recv (zap);
char *sequence = s_recv (zap);
char *domain = s_recv (zap);
char *address = s_recv (zap);
char *mechanism = s_recv (zap);
char *client_key = s_recv (zap);
@@ -39,11 +40,13 @@ zap_handler (void *zap)
s_sendmore (zap, sequence);
s_sendmore (zap, "200");
s_sendmore (zap, "OK");
s_send (zap, "anonymous");
s_sendmore (zap, "anonymous");
s_send (zap, "");
free (version);
free (sequence);
free (domain);
free (address);
free (mechanism);
free (client_key);