corrected DTLS packet handling.

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-05 23:56:28 +01:00
parent 1e0bcc269d
commit 99824ebd94
8 changed files with 278 additions and 100 deletions
+2
View File
@@ -268,6 +268,8 @@ int auth_cookie(worker_st *ws, void* cookie, size_t cookie_size)
int ret;
struct cmd_auth_cookie_req_st areq;
memset(&areq, 0, sizeof(areq));
if (cookie_size != sizeof(areq.cookie))
return -1;