commit | 889c4f1e36f69c1d5a9a92a6ba40d8a729d3f7b0 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Wed Sep 03 14:23:13 2014 -0700 |
committer | Adam Langley <agl@google.com> | Fri Sep 05 15:54:51 2014 -0700 |
tree | be55f396d8a8c80770f4d5d55eaeb7161de1a9f5 | |
parent | 52f5425ff53216e3d7e2410bffd05e0df2b13c9c [diff] |
Don't use deprecated OpenSSL functions. This change simply switches from the deprecated EVP_{En|De}crypt{Init|Final} to the newer, _ex versions of the same. There is no difference in behaviour, save for calling EVP_CIPHER_CTX_init, as the deprecated versions are just wrappers around the _ex functions. See https://git.openssl.org/gitweb/?p=openssl.git;a=blob;f=crypto/evp/evp_enc.c;h=f705967a40ab92cdf3c2ba8dd6bc19680d6157d6;hb=HEAD#l274 This change is required for the transition to BoringSSL, which removes the deprecated functions. Bug: 17409664 Change-Id: I35c6cc2d86d0c876a9edaff1e5571170fe393d87 Signed-off-by: Adam Langley <agl@google.com>