Rename pend_alert_msg -> pending_fatal_alert_msg
diff --git a/include/mbedtls/ssl_internal.h b/include/mbedtls/ssl_internal.h
index 2f305e5..a86ec12 100644
--- a/include/mbedtls/ssl_internal.h
+++ b/include/mbedtls/ssl_internal.h
@@ -1736,14 +1736,14 @@
  * The check for pending alerts must be done manually. Currently,
  * it happens only during the handshake loop.
  *
- * This function must not be called multiple times without manually
- * inspecting and clearing ssl->pending_fatal_alert_msg in between.
+ * This function must not be called multiple times without
+ * manually inspecting and clearing ssl->pending_fatal_alert_msg in between.
  */
 MBEDTLS_ALWAYS_INLINE static inline void mbedtls_ssl_pend_fatal_alert(
     mbedtls_ssl_context *ssl,
     unsigned char message )
 {
-    ssl->pend_alert_msg = message;
+    ssl->pending_fatal_alert_msg = message;
 }
 
 #endif /* ssl_internal.h */