diff options
author | beck <> | 2002-05-21 01:49:11 +0000 |
---|---|---|
committer | beck <> | 2002-05-21 01:49:11 +0000 |
commit | 7ebf0f8371844decf17c65829147760ed09339a6 (patch) | |
tree | b39f86312e7ebfd4945e393b8949356694ad06fe /src/lib/libcrypto/evp/p_seal.c | |
parent | 2117eaece54016b776476220b41b97441e75b0e0 (diff) | |
download | openbsd-7ebf0f8371844decf17c65829147760ed09339a6.tar.gz openbsd-7ebf0f8371844decf17c65829147760ed09339a6.tar.bz2 openbsd-7ebf0f8371844decf17c65829147760ed09339a6.zip |
Merge openssl-0.9.7-stable-SNAP-20020519
Diffstat (limited to 'src/lib/libcrypto/evp/p_seal.c')
-rw-r--r-- | src/lib/libcrypto/evp/p_seal.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/p_seal.c b/src/lib/libcrypto/evp/p_seal.c index 5570ca3745..37e547fe72 100644 --- a/src/lib/libcrypto/evp/p_seal.c +++ b/src/lib/libcrypto/evp/p_seal.c | |||
@@ -106,8 +106,10 @@ int inl; | |||
106 | } | 106 | } |
107 | */ | 107 | */ |
108 | 108 | ||
109 | void EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) | 109 | int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) |
110 | { | 110 | { |
111 | EVP_EncryptFinal_ex(ctx,out,outl); | 111 | int i; |
112 | i = EVP_EncryptFinal_ex(ctx,out,outl); | ||
112 | EVP_EncryptInit_ex(ctx,NULL,NULL,NULL,NULL); | 113 | EVP_EncryptInit_ex(ctx,NULL,NULL,NULL,NULL); |
114 | return i; | ||
113 | } | 115 | } |