summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-04-17 17:12:23 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-04-17 17:12:23 +0000
commit492a9e241550b537ef3db1719e18e9b795b6d24c (patch)
tree1246408b271690b8a67816951fc27fdaab0c69a4 /crypto/evp/evp.h
parent7bf7333d688264f6d389c1c3c87c127f484b2efa (diff)
Allow public key ASN1 methods to set PKCS#7 SignerInfo structures.
Diffstat (limited to 'crypto/evp/evp.h')
-rw-r--r--crypto/evp/evp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h
index 5659f67311..f306887a20 100644
--- a/crypto/evp/evp.h
+++ b/crypto/evp/evp.h
@@ -860,6 +860,8 @@ void EVP_PBE_cleanup(void);
#define ASN1_PKEY_ALIAS 0x1
#define ASN1_PKEY_DYNAMIC 0x2
+#define ASN1_PKEY_CTRL_PKCS7_SIGN 0x1
+
int EVP_PKEY_asn1_get_count(void);
const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_get0(int idx);
const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(int type);
@@ -899,7 +901,7 @@ void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth,
void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth,
void (*pkey_free)(EVP_PKEY *pkey));
void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
- void (*pkey_ctrl)(EVP_PKEY *pkey, int op,
+ int (*pkey_ctrl)(EVP_PKEY *pkey, int op,
long arg1, void *arg2));