diff options
author | Matt Caswell <matt@openssl.org> | 2014-10-03 23:48:49 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2014-10-06 23:48:39 +0100 |
commit | 13f8ddacbeaeb50d26f69e7c84feb80498cde8b6 (patch) | |
tree | afdd34d1bf1690fcbf9d43c8b479ad96ef2441db | |
parent | ad8b2043860e7c02d6f28b5b9a4563b92f027f98 (diff) |
Removed duplicate definition of PKCS7_type_is_encrypted
Patch supplied by Matthieu Patou <mat@matws.net>, and modified to also
remove duplicate definition of PKCS7_type_is_digest.
PR#3551
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit e0fdea3e49e7454aa76bd5ecf3a3747641354c68)
-rw-r--r-- | crypto/pkcs7/pkcs7.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/pkcs7/pkcs7.h b/crypto/pkcs7/pkcs7.h index 04f60379fb..5d54c4ac27 100644 --- a/crypto/pkcs7/pkcs7.h +++ b/crypto/pkcs7/pkcs7.h @@ -233,10 +233,6 @@ DECLARE_PKCS12_STACK_OF(PKCS7) (OBJ_obj2nid((a)->type) == NID_pkcs7_signedAndEnveloped) #define PKCS7_type_is_data(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_data) #define PKCS7_type_is_digest(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_digest) -#define PKCS7_type_is_encrypted(a) \ - (OBJ_obj2nid((a)->type) == NID_pkcs7_encrypted) - -#define PKCS7_type_is_digest(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_digest) #define PKCS7_set_detached(p,v) \ PKCS7_ctrl(p,PKCS7_OP_SET_DETACHED_SIGNATURE,v,NULL) |