Skip to content

Missing "return value" #173

@J-Lacerte

Description

@J-Lacerte

In the "MySQL_Encrypt_Sha1.cpp" file of the "MySQL_Connector_Arduino" library, there are two functions:

  • size_t Encrypt_SHA1 :: write (uint8_t data) {...}
  • size_t Encrypt_SHA1 :: write (uint8_t * data, int length) {...}
    according to their definition, they should make a "return" of a value of type "size_t" but neither one has a "return" which causes in my Windows 10 environment an exception.
    To be able to use this library, I added to these functions a "return -1;"
    Is it possible to correct this problem.
    Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions