diff options
author | Richard Levitte <levitte@openssl.org> | 2015-12-18 17:06:38 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-01-12 13:52:22 +0100 |
commit | 3dcb9e4e0fb8d6ee373c44013141452e79da30cc (patch) | |
tree | 8b9ca84efae86ed9bc4fb6a6f39f4625f7711747 /crypto | |
parent | 39e8d0ce73fb4cd760fbc02b82081a52263c8781 (diff) |
EVP_CIPHER_CTX_new_cipher_data was a temporary measure, not needed any more
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/evp_lib.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c index 63226566c2..50f12b4323 100644 --- a/crypto/evp/evp_lib.c +++ b/crypto/evp/evp_lib.c @@ -262,13 +262,6 @@ void *EVP_CIPHER_CTX_cipher_data(const EVP_CIPHER_CTX *ctx) return ctx->cipher_data; } -/* FIXME: temporary until EVP_CIPHER goes opaque */ -void EVP_CIPHER_CTX_new_cipher_data(EVP_CIPHER_CTX *ctx, size_t size) -{ - if (ctx->cipher_data == NULL && ctx->cipher->ctx_size == 0) - ctx->cipher_data = OPENSSL_zalloc(size); -} - int EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { return cipher->iv_len; |