summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_both.c
diff options
context:
space:
mode:
authorjsing <>2014-05-26 13:01:58 +0000
committerjsing <>2014-05-26 13:01:58 +0000
commita5e991c6a4aabb5b02327d418117987254b50e3e (patch)
tree2d8c2f3b74e112db8f84b41231b2cde79d0be571 /src/lib/libssl/s3_both.c
parentced0d13ab7d0545e357901be0ce7f3ffe5e6be66 (diff)
downloadopenbsd-a5e991c6a4aabb5b02327d418117987254b50e3e.tar.gz
openbsd-a5e991c6a4aabb5b02327d418117987254b50e3e.tar.bz2
openbsd-a5e991c6a4aabb5b02327d418117987254b50e3e.zip
Implement an improved version of the EVP AEAD API. The
EVP_AEAD_CTX_{open,seal} functions previously returned an ssize_t that was overloaded to indicate success/failure, along with the number of bytes written as output. This change adds an explicit *out_len argument which is used to return the number of output bytes and the return value is now an int that is purely used to identify success or failure. This change effectively rides the last libcrypto crank (although I do not expect there to be many users of the EVP AEAD API currently). Thanks to Adam Langley for providing the improved code that this diff is based on. ok miod@
Diffstat (limited to 'src/lib/libssl/s3_both.c')
0 files changed, 0 insertions, 0 deletions