From 567206c133687a17da42aef3fb0b0e19dc053992 Mon Sep 17 00:00:00 2001 From: tedu Date: Fri, 18 Apr 2014 02:56:48 +0000 Subject: [PATCH] -netware --- lib/libcrypto/pkcs7/bio_pk7.c | 8 ++------ lib/libssl/src/crypto/pkcs7/bio_pk7.c | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/lib/libcrypto/pkcs7/bio_pk7.c b/lib/libcrypto/pkcs7/bio_pk7.c index 0fd31e730ff..2b04a361acf 100644 --- a/lib/libcrypto/pkcs7/bio_pk7.c +++ b/lib/libcrypto/pkcs7/bio_pk7.c @@ -56,14 +56,10 @@ #include #include -#if !defined(OPENSSL_SYSNAME_NETWARE) && !defined(OPENSSL_SYSNAME_VXWORKS) -#include -#endif #include /* Streaming encode support for PKCS#7 */ - BIO *BIO_new_PKCS7(BIO *out, PKCS7 *p7) - { +{ return BIO_new_NDEF(out, (ASN1_VALUE *)p7, ASN1_ITEM_rptr(PKCS7)); - } +} diff --git a/lib/libssl/src/crypto/pkcs7/bio_pk7.c b/lib/libssl/src/crypto/pkcs7/bio_pk7.c index 0fd31e730ff..2b04a361acf 100644 --- a/lib/libssl/src/crypto/pkcs7/bio_pk7.c +++ b/lib/libssl/src/crypto/pkcs7/bio_pk7.c @@ -56,14 +56,10 @@ #include #include -#if !defined(OPENSSL_SYSNAME_NETWARE) && !defined(OPENSSL_SYSNAME_VXWORKS) -#include -#endif #include /* Streaming encode support for PKCS#7 */ - BIO *BIO_new_PKCS7(BIO *out, PKCS7 *p7) - { +{ return BIO_new_NDEF(out, (ASN1_VALUE *)p7, ASN1_ITEM_rptr(PKCS7)); - } +} -- 2.20.1