]> git.saurik.com Git - apple/security.git/blobdiff - SecureTransport/sslChangeCipher.cpp
Security-163.tar.gz
[apple/security.git] / SecureTransport / sslChangeCipher.cpp
index 391a8f239f04ce0799b85899be2e51f568f86e0d..7de0d2a6763291eeac51ec1c6819d65c9ed547a5 100644 (file)
@@ -77,7 +77,7 @@ SSLProcessChangeCipherSpec(SSLRecord rec, SSLContext *ctx)
     
     /* Install new cipher spec on read side */
     if ((err = SSLDisposeCipherSuite(&ctx->readCipher, ctx)) != 0)
-    {   SSLFatalSessionAlert(SSL_AlertCloseNotify, ctx);
+    {   SSLFatalSessionAlert(SSL_AlertInternalError, ctx);
         return err;
     }
     ctx->readCipher = ctx->readPending;