cvs commit: patches/wvstreams wvstreams-3.70-wvcrypto.patch wvstreams-3.70-wvresolver.patch

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Sat Oct 4 09:00:26 PDT 2003


tushar      03/10/04 10:00:26

  Added:       wvstreams wvstreams-3.70-wvcrypto.patch
                        wvstreams-3.70-wvresolver.patch
  Log:
  Added BLFS wvstreams patches
  
  Revision  Changes    Path
  1.1                  patches/wvstreams/wvstreams-3.70-wvcrypto.patch
  
  Index: wvstreams-3.70-wvcrypto.patch
  ===================================================================
  Submitted By: BLFS Book <blfs-book at linuxfromscratch.org>
  Date: 2003-10-04
  Initial Package Version: 3.70
  Origin: BLFS Book
  Description: Fixes compilation.
  diff -ur wvstreams-3.70.orig/src/crypto/wvcrypto.cc wvstreams-3.70/src/crypto/wvcrypto.cc
  --- wvstreams-3.70.orig/src/crypto/wvcrypto.cc	2002-03-21 02:29:19.000000000 +0500
  +++ wvstreams-3.70/src/crypto/wvcrypto.cc	2003-04-10 12:54:53.000000000 +0600
  @@ -146,7 +146,8 @@
       int bufsize = ((hexbytes < 2048) ? 2048 : hexbytes) + 16;
       //int bufsize = hexbytes/2;
       
  -    unsigned char *keybuf = new unsigned char[bufsize], *bufp;
  +    unsigned char *keybuf = new unsigned char[bufsize];
  +    const unsigned char *bufp;
       char *keystr;
       RSA *rp;
  
  
  
  1.1                  patches/wvstreams/wvstreams-3.70-wvresolver.patch
  
  Index: wvstreams-3.70-wvresolver.patch
  ===================================================================
  Submitted By: BLFS Book <blfs-book at linuxfromscratch.org>
  Date: 2003-10-04
  Initial Package Version: 3.70
  Origin: BLFS Book
  Description: Fixes compilation.
  diff -ur wvstreams-3.70.orig/src/ipstreams/wvresolver.cc wvstreams-3.70/src/ipstreams/wvresolver.cc
  --- wvstreams-3.70.orig/src/ipstreams/wvresolver.cc	2002-03-02 09:33:08.000000000 +0500
  +++ wvstreams-3.70/src/ipstreams/wvresolver.cc	2003-04-10 12:51:58.000000000 +0600
  @@ -128,7 +128,7 @@
   // If addr==NULL, this just tests to see if the name exists.
   int WvResolver::findaddr(int msec_timeout, const WvString &name,
   			 WvIPAddr const **addr,
  -                         WvIPAddrList *addrlist = NULL)
  +                         WvIPAddrList *addrlist)
   {
       WvResolverHost *host;
       time_t now = time(NULL);
  
  
  



More information about the patches mailing list