1. 16 May, 2017 2 commits
    • Andreas Hasenack's avatar
      Fix make_scrambled_password declaration · 1badbbc1
      Andreas Hasenack authored
      Use the make_scrambled_password() function as declared in the mysql
      headers.
      1badbbc1
    • Andreas Hasenack's avatar
      Do not use my_make_scrambled_password() · d264285c
      Andreas Hasenack authored
      my_make_scrambled_password() is not meant to be a replacement for
      the removed make_scrambled_password() function from libmysqlclient.
      
      So look for make_scrambled_password() in the mysql client library
      instead of my_make_scrambled_password(). If not found, then
      reimplement it, but with the correct name to avoid further confusion
      around this.
      d264285c
  2. 22 Mar, 2017 1 commit
  3. 22 Dec, 2016 1 commit
  4. 06 Dec, 2016 1 commit
  5. 16 Nov, 2016 1 commit
  6. 15 Nov, 2016 2 commits
  7. 14 Nov, 2016 5 commits
  8. 05 Nov, 2016 3 commits
  9. 04 Nov, 2016 2 commits
  10. 22 Nov, 2015 1 commit
    • Niels Laukens's avatar
      Bugfix spurious crypt() warning in log · af6c8bb9
      Niels Laukens authored
      The crypt() function returns NULL on error, or the string otherwise.
      Only in the case of an error (i.e. NULL return) is the value of errno
      useful.
      
      On my system, crypt() works as expected, but errno is set to ENOENT,
      because the last system call that was executed tried to open
      '/proc/sys/crypto/fips_enabled', which does not exist on my system.
      However, crypt() works fine without that file, but doesn't reset errno
      to 0.
      
      This patch fixes that behaviour, by explicitly checking for a NULL
      return value, and only then examining errno.
      
      It also works around undefined behaviour (strcmp with a NULL argument),
      and makes sure that the password is considered NOT to match if crypt()
      fails.
      af6c8bb9
  11. 12 Mar, 2015 1 commit
  12. 04 Jan, 2013 1 commit
  13. 23 Jun, 2011 1 commit
  14. 21 May, 2011 1 commit
  15. 20 May, 2011 3 commits