Improve behaviour on fatal errors

If we didn't walk the whole chain, then there may be any kind of errors in the
part of the chain we didn't check, so setting all flags looks like the safe
thing to do.
diff --git a/ChangeLog b/ChangeLog
index 90c6e6b..f008cdc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,7 +25,12 @@
      to bypass the version verification check. Found by Peng Li/Yueh-Hsun Lin,
      KNOX Security, Samsung Research America
 
-= mbed TLS 1.3.20 branch released 2017-06-21
+Changes
+   * Certificate verification functions now set flags to -1 in case the full
+     chain was not verified due to an internal error (including in the verify
+     callback) or chain length limitations.
+
+= mbed TLS 1.3.20 released 2017-06-21
 
 Security
    * Fixed unlimited overread of heap-based buffer in ssl_read().