summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2006-08-28 17:01:04 +0000
committerBen Laurie <ben@openssl.org>2006-08-28 17:01:04 +0000
commit777c47acbeecf9602cc465864c9f5f2c609c989d (patch)
treee35a78fad59225fc817f609748c8ff2b9e9b2afe /crypto/pkcs7
parent5776c3c4c6663cb1498e83ed20894af4b59c78aa (diff)
Make things static that should be. Declare stuff in headers that should be.
Fix warnings.
Diffstat (limited to 'crypto/pkcs7')
-rw-r--r--crypto/pkcs7/pk7_doit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/pkcs7/pk7_doit.c b/crypto/pkcs7/pk7_doit.c
index 095661805e..6577e368a8 100644
--- a/crypto/pkcs7/pk7_doit.c
+++ b/crypto/pkcs7/pk7_doit.c
@@ -197,8 +197,8 @@ static int pkcs7_encode_rinfo(PKCS7_RECIP_INFO *ri,
}
-int pkcs7_decrypt_rinfo(unsigned char **pek, int *peklen,
- PKCS7_RECIP_INFO *ri, EVP_PKEY *pkey)
+static int pkcs7_decrypt_rinfo(unsigned char **pek, int *peklen,
+ PKCS7_RECIP_INFO *ri, EVP_PKEY *pkey)
{
EVP_PKEY_CTX *pctx = NULL;
unsigned char *ek = NULL;