commit | aeb8d00e76163cea462d55f4b797c64002b12ce9 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Mon Oct 27 17:33:35 2014 -0400 |
committer | Adam Langley <agl@google.com> | Mon Oct 27 21:58:09 2014 +0000 |
tree | 7fbe0eeb1e56223012bd2643a8314ef1e7753099 | |
parent | 7001a7fce6abe7fa5fc5b9ef52d74851c0db6e24 [diff] |
Add less dangerous versions of SRTP functions. The old ones inverted their return value. Add SSL_(CTX_)set_srtp_profiles which return success/failure correctly and deprecate the old functions. Also align srtp.h with the new style since it's very short. When this rolls through, we can move WebRTC over to the new ones. Change-Id: Ie55282e8858331910bba6ad330c8bcdd0e38f2f8 Reviewed-on: https://boringssl-review.googlesource.com/2060 Reviewed-by: Adam Langley <agl@google.com>