Drop unused sha1.h.
authorKristian H?gsberg <krh@redhat.com>
Sat Dec 29 19:00:25 2007 -0500 (2007-12-29)
changeset 907bd64a40cb03
parent 89 feaf8640e017
child 91 6884cefd1b8c
Drop unused sha1.h.
import.c
sha1.h
     1.1 --- a/import.c	Sat Dec 29 16:43:34 2007 -0500
     1.2 +++ b/import.c	Sat Dec 29 19:00:25 2007 -0500
     1.3 @@ -12,7 +12,6 @@
     1.4  #include <zlib.h>
     1.5  #include <rpm/rpmlib.h>
     1.6  #include <rpm/rpmdb.h>
     1.7 -#include "sha1.h"
     1.8  #include "razor.h"
     1.9  
    1.10  /* Import a yum filelist as a razor package set. */
     2.1 --- a/sha1.h	Sat Dec 29 16:43:34 2007 -0500
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,45 +0,0 @@
     2.4 -/*
     2.5 - * The contents of this file are subject to the Mozilla Public
     2.6 - * License Version 1.1 (the "License"); you may not use this file
     2.7 - * except in compliance with the License. You may obtain a copy of
     2.8 - * the License at http://www.mozilla.org/MPL/
     2.9 - *
    2.10 - * Software distributed under the License is distributed on an "AS
    2.11 - * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
    2.12 - * implied. See the License for the specific language governing
    2.13 - * rights and limitations under the License.
    2.14 - *
    2.15 - * The Original Code is SHA 180-1 Header File
    2.16 - *
    2.17 - * The Initial Developer of the Original Code is Paul Kocher of
    2.18 - * Cryptography Research.  Portions created by Paul Kocher are
    2.19 - * Copyright (C) 1995-9 by Cryptography Research, Inc.  All
    2.20 - * Rights Reserved.
    2.21 - *
    2.22 - * Contributor(s):
    2.23 - *
    2.24 - *     Paul Kocher
    2.25 - *
    2.26 - * Alternatively, the contents of this file may be used under the
    2.27 - * terms of the GNU General Public License Version 2 or later (the
    2.28 - * "GPL"), in which case the provisions of the GPL are applicable
    2.29 - * instead of those above.  If you wish to allow use of your
    2.30 - * version of this file only under the terms of the GPL and not to
    2.31 - * allow others to use your version of this file under the MPL,
    2.32 - * indicate your decision by deleting the provisions above and
    2.33 - * replace them with the notice and other provisions required by
    2.34 - * the GPL.  If you do not delete the provisions above, a recipient
    2.35 - * may use your version of this file under either the MPL or the
    2.36 - * GPL.
    2.37 - */
    2.38 -
    2.39 -typedef struct {
    2.40 -  unsigned int H[5];
    2.41 -  unsigned int W[80];
    2.42 -  int lenW;
    2.43 -  unsigned int sizeHi,sizeLo;
    2.44 -} SHA_CTX;
    2.45 -
    2.46 -void SHA1_Init(SHA_CTX *ctx);
    2.47 -void SHA1_Update(SHA_CTX *ctx, const void *dataIn, int len);
    2.48 -void SHA1_Final(unsigned char hashout[20], SHA_CTX *ctx);