commit | 3b90872698ded1567ed244faf7a9bdb047168444 | [log] [tgz] |
---|---|---|
author | Jouni Malinen <jouni@qca.qualcomm.com> | Tue Aug 18 18:14:59 2015 +0000 |
committer | Android Git Automerger <android-git-automerger@android.com> | Tue Aug 18 18:14:59 2015 +0000 |
tree | 39e27ab73ac3268fca5797d177e7702e574b8080 | |
parent | 70d9a39fc88cadb1d35f005c5ecf2b5049b38bbc [diff] | |
parent | f291c682d490cef0b520b68e694a2bf97126b441 [diff] |
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; }