Switch the ssl_write_bytes hook to ssl_write_app_data.
The SSL_PROTOCOL_METHOD table needs work, but this makes it clearer
exactly what the shared interface between the upper later and TLS/DTLS
is.
BUG=468889
Change-Id: I38931c484aa4ab3f77964d708d38bfd349fac293
Reviewed-on: https://boringssl-review.googlesource.com/4955
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/ssl/d1_meth.c b/ssl/d1_meth.c
index 5d75d02..276290d 100644
--- a/ssl/d1_meth.c
+++ b/ssl/d1_meth.c
@@ -70,7 +70,7 @@
dtls1_shutdown,
dtls1_get_message,
dtls1_read_bytes,
- dtls1_write_app_data_bytes,
+ dtls1_write_app_data,
dtls1_dispatch_alert,
ssl3_ctrl,
ssl3_ctx_ctrl,