aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/evp/p_seal.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/evp/p_seal.c')
-rw-r--r--openssl/crypto/evp/p_seal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/crypto/evp/p_seal.c b/openssl/crypto/evp/p_seal.c
index 8cc8fcb0b..d8324526e 100644
--- a/openssl/crypto/evp/p_seal.c
+++ b/openssl/crypto/evp/p_seal.c
@@ -87,7 +87,7 @@ int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek
for (i=0; i<npubk; i++)
{
- ekl[i]=EVP_PKEY_encrypt(ek[i],key,EVP_CIPHER_CTX_key_length(ctx),
+ ekl[i]=EVP_PKEY_encrypt_old(ek[i],key,EVP_CIPHER_CTX_key_length(ctx),
pubk[i]);
if (ekl[i] <= 0) return(-1);
}