Skip to content
  1. Dec 20, 2015
  2. Dec 19, 2015
  3. Dec 18, 2015
  4. Dec 16, 2015
  5. Dec 14, 2015
  6. Dec 13, 2015
  7. Dec 10, 2015
  8. Dec 09, 2015
  9. Dec 08, 2015
  10. Dec 07, 2015
  11. Dec 03, 2015
  12. Dec 02, 2015
  13. Dec 01, 2015
    • Matt Caswell's avatar
      Remove cookie validation return value trick · 94f98a90
      Matt Caswell authored
      
      
      In the DTLS ClientHello processing the return value is stored in |ret| which
      by default is -1. |ret| is only updated to a positive value once we are past
      all points where we could hit an error. We wish to return 1 on success or 2
      on success *and* we have validated the DTLS cookie. Previously on successful
      validation of the cookie we were setting |ret| to -2, and then once we were
      past all error points we set |ret = -ret|. This is non-obvious behaviour and
      could be error prone. This commit tries to make this a bit more intuitive.
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      94f98a90
  14. Nov 30, 2015