summaryrefslogtreecommitdiff
path: root/crypto/evp/p_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/evp/p_open.c')
-rw-r--r--crypto/evp/p_open.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/crypto/evp/p_open.c b/crypto/evp/p_open.c
index 28a8e02252..e6af915c01 100644
--- a/crypto/evp/p_open.c
+++ b/crypto/evp/p_open.c
@@ -62,13 +62,8 @@
#include "objects.h"
#include "x509.h"
-int EVP_OpenInit(ctx,type,ek,ekl,iv,priv)
-EVP_CIPHER_CTX *ctx;
-EVP_CIPHER *type;
-unsigned char *ek;
-int ekl;
-unsigned char *iv;
-EVP_PKEY *priv;
+int EVP_OpenInit(EVP_CIPHER_CTX *ctx, EVP_CIPHER *type, unsigned char *ek,
+ int ekl, unsigned char *iv, EVP_PKEY *priv)
{
unsigned char *key=NULL;
int i,size=0,ret=0;
@@ -106,10 +101,7 @@ err:
return(ret);
}
-int EVP_OpenFinal(ctx,out,outl)
-EVP_CIPHER_CTX *ctx;
-unsigned char *out;
-int *outl;
+int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
{
int i;