[OpenSIPS-Devel] [OpenSIPS/opensips] d8ec4f: Revert "auth: fix error check"

Liviu Chircu noreply at github.com
Mon Mar 16 09:20:37 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d8ec4f3b05f2c4b21fe3363b3e146c1811ccf870
      https://github.com/OpenSIPS/opensips/commit/d8ec4f3b05f2c4b21fe3363b3e146c1811ccf870
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-03-14 (Sat, 14 Mar 2020)

  Changed paths:
    M modules/auth/auth_mod.c

  Log Message:
  -----------
  Revert "auth: fix error check"

This reverts commit b7772a087e4bf5c57fa4655d9fd53e074ca4247e.


  Commit: 96fcb5f9fd95796e11ec00a8246426d6dfe11a58
      https://github.com/OpenSIPS/opensips/commit/96fcb5f9fd95796e11ec00a8246426d6dfe11a58
  Author: Zero King <l2dy at icloud.com>
  Date:   2020-03-14 (Sat, 14 Mar 2020)

  Changed paths:
    M modules/auth/auth_mod.c

  Log Message:
  -----------
  auth: return -1 on error in auth_get_ha1()


  Commit: 590a19f11a7afa3fb4d60792be6886fd59183558
      https://github.com/OpenSIPS/opensips/commit/590a19f11a7afa3fb4d60792be6886fd59183558
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M modules/auth/auth_mod.c

  Log Message:
  -----------
  Merge branch 'auth' of https://github.com/l2dy/opensips into l2dy-auth

Some improvements:

    * preserve the former behavior of returning a "Username Not Found"
      SIP error when the "username" or "password" PVs are not populated

    * return an internal error when the PVs contain unexpected values
      and/or types (e.g. NULL or non-string)

    * improve coding style in pv_authorize()


Compare: https://github.com/OpenSIPS/opensips/compare/b9a6292e9de4...590a19f11a7a



More information about the Devel mailing list