MSVC doesn't like C bitfields.
Change-Id: I88a415e3dd7ac9ea2fa83ca3e4d835efefa7fcc6
Reviewed-on: https://boringssl-review.googlesource.com/7970
Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index d3bf83a..960bc14 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -4091,10 +4091,10 @@
/* recv_shutdown is the shutdown state for the receive half of the
* connection. */
- enum ssl_shutdown_t recv_shutdown : 2;
+ enum ssl_shutdown_t recv_shutdown;
/* recv_shutdown is the shutdown state for the send half of the connection. */
- enum ssl_shutdown_t send_shutdown : 2;
+ enum ssl_shutdown_t send_shutdown;
int alert_dispatch;
uint8_t send_alert[2];