From 5c2ee53f71ac51c67556cb2b3fb98f5b141efd8a Mon Sep 17 00:00:00 2001 From: Emilia Kasper Date: Tue, 28 Feb 2017 11:37:22 +0100 Subject: [PATCH] Remove dead code in crypto/pkcs7 Reviewed-by: Stephen Henson --- crypto/pkcs7/pk7_dgst.c | 15 --------------- crypto/pkcs7/pk7_enc.c | 25 ------------------------- 2 files changed, 40 deletions(-) delete mode 100644 crypto/pkcs7/pk7_dgst.c delete mode 100644 crypto/pkcs7/pk7_enc.c diff --git a/crypto/pkcs7/pk7_dgst.c b/crypto/pkcs7/pk7_dgst.c deleted file mode 100644 index 965fb37eab..0000000000 --- a/crypto/pkcs7/pk7_dgst.c +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#include -#include "internal/cryptlib.h" -#include -#include -#include -#include diff --git a/crypto/pkcs7/pk7_enc.c b/crypto/pkcs7/pk7_enc.c deleted file mode 100644 index 3c59f9c8c5..0000000000 --- a/crypto/pkcs7/pk7_enc.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#include -#include "internal/cryptlib.h" -#include -#include -#include -#include - -PKCS7_in_bio(PKCS7 *p7, BIO *in); -PKCS7_out_bio(PKCS7 *p7, BIO *out); - -PKCS7_add_signer(PKCS7 *p7, X509 *cert, EVP_PKEY *key); -PKCS7_cipher(PKCS7 *p7, EVP_CIPHER *cipher); - -PKCS7_Init(PKCS7 *p7); -PKCS7_Update(PKCS7 *p7); -PKCS7_Finish(PKCS7 *p7); -- 2.25.1