From: tedu Date: Fri, 18 Apr 2014 02:56:48 +0000 (+0000) Subject: -netware X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=567206c133687a17da42aef3fb0b0e19dc053992;p=openbsd -netware --- 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)); - } +}