• Dmitry Frank's avatar
    Fix nonce in digest authentication · 47abc641
    Dmitry Frank authored
    CL: Mongoose Web Server: Digest authentication: Fix nonce validity check (expired nonce or nonce from the future did not cause the the check to fail)
    CL: Mongoose Web Server: Digest authentication: Fix nonce request value; it worked before because nonce validity check was broken as well
    CL: Mongoose Web Server: Digest authentication: Add `nonce` argument to `mg_http_create_digest_auth_header()`: clients should use the value received from the server's authentication request.
    
    Resolves https://github.com/cesanta/mongoose/issues/809
    
    PUBLISHED_FROM=5e59f90ed6b2a4311ed6763159da81c2aaf6af4c
    47abc641
mongoose.c 491 KB