diff options
author | David Benjamin <davidben@chromium.org> | 2014-10-19 21:50:18 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-10-24 22:30:09 +0400 |
commit | 89abaea141b60061dacb6e03d58345d50ae23b81 (patch) | |
tree | 73aa5d24c94283b83079e710f2c003284956480c /ssl/ssl_error.c | |
parent | 83fd6b686f808d474baf539958919bc6a32ab983 (diff) |
Reimplement i2d_SSL_SESSION using CBB.
No more need for all the macros. For now, this still follows the two-pass i2d_*
API despite paying a now-unnecessary malloc. The follow-on commit will expose a
more reasonable API and deprecate this one.
Change-Id: I50ec63e65afbd455ad3bcd2f1ae3c782d9e8f9d2
Reviewed-on: https://boringssl-review.googlesource.com/2000
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/ssl_error.c')
-rw-r--r-- | ssl/ssl_error.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_error.c b/ssl/ssl_error.c index c0dac58f..247fa0f8 100644 --- a/ssl/ssl_error.c +++ b/ssl/ssl_error.c @@ -88,6 +88,7 @@ const ERR_STRING_DATA SSL_error_string_data[] = { {ERR_PACK(ERR_LIB_SSL, SSL_F_dtls1_write_app_data_bytes, 0), "dtls1_write_app_data_bytes"}, {ERR_PACK(ERR_LIB_SSL, SSL_F_fclose, 0), "fclose"}, {ERR_PACK(ERR_LIB_SSL, SSL_F_fprintf, 0), "fprintf"}, + {ERR_PACK(ERR_LIB_SSL, SSL_F_i2d_SSL_SESSION, 0), "i2d_SSL_SESSION"}, {ERR_PACK(ERR_LIB_SSL, SSL_F_printf, 0), "printf"}, {ERR_PACK(ERR_LIB_SSL, SSL_F_read_authz, 0), "read_authz"}, {ERR_PACK(ERR_LIB_SSL, SSL_F_ssl23_accept, 0), "ssl23_accept"}, |