Skip to content

Uppercase MD5 gets rejected #4641

Closed
Closed
@alfersi

Description

@alfersi

Hi!

I was implementing an http update based on a cloud server that returns the MD5 in Uppercase, and gets rejected by the end() method. I sorted it out by rewriting it to:

_md5.calculate(); if(_target_md5.length()) { _target_md5.toLowerCase(); if(_target_md5 != _md5.toString()){ _abort(UPDATE_ERROR_MD5); return false; } }

I think it should be ammended for everyone in the library.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions