am f291c682: BoringSSL: Fix session resumption

* commit 'f291c682d490cef0b520b68e694a2bf97126b441':
  BoringSSL: Fix session resumption
diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c
index 2250e6e..db2d73e 100644
--- a/src/crypto/tls_openssl.c
+++ b/src/crypto/tls_openssl.c
@@ -1149,7 +1149,7 @@
 	 * and "close notify" shutdown alert would confuse AS. */
 	SSL_set_quiet_shutdown(conn->ssl, 1);
 	SSL_shutdown(conn->ssl);
-	return 0;
+	return SSL_clear(conn->ssl) == 1 ? 0 : -1;
 }