summaryrefslogtreecommitdiffstats
path: root/crypto/cms/cms_env.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2008-03-16 21:05:46 +0000
committerGeoff Thorpe <geoff@openssl.org>2008-03-16 21:05:46 +0000
commit1e26a8baedbc74036ada80deb16296e7d4eedb18 (patch)
tree180306f9b8f5bf8b17e166d32b4360ca9a7ec631 /crypto/cms/cms_env.c
parent7c337e00d23ac421ff1949ac1bbce2e8b718299e (diff)
Fix a variety of warnings generated by some elevated compiler-fascism,
OPENSSL_NO_DEPRECATED, etc. Steve, please double-check the CMS stuff...
Diffstat (limited to 'crypto/cms/cms_env.c')
-rw-r--r--crypto/cms/cms_env.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/cms/cms_env.c b/crypto/cms/cms_env.c
index 39ebe5a0f1..796b0d3756 100644
--- a/crypto/cms/cms_env.c
+++ b/crypto/cms/cms_env.c
@@ -118,7 +118,7 @@ int CMS_RecipientInfo_type(CMS_RecipientInfo *ri)
/* Add a recipient certificate. For now only handle key transport.
* If we ever handle key agreement will need updating.
*/
-
+#if 0 /* currently unused/undeclared */
CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms,
X509 *recip, unsigned int flags)
{
@@ -208,6 +208,7 @@ CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms,
return NULL;
}
+#endif
int CMS_RecipientInfo_ktri_get0_algs(CMS_RecipientInfo *ri,
EVP_PKEY **pk, X509 **recip,