Re: patch: webbot ssl fix

Yeah so... sorry about the attachment.  The mime-type makes it look
like a scary virus looking thing.  Here's the actual patch less
scary-looking format:

? patch-fixssl
Index: configure.ac
===================================================================
RCS file: /sources/public/libwww/configure.ac,v
retrieving revision 1.2
diff -c -r1.2 configure.ac
*** configure.ac	23 Jan 2005 18:01:19 -0000	1.2
--- configure.ac	26 Feb 2005 21:11:06 -0000
***************
*** 708,713 ****
--- 708,714 ----
      LWWWSSL="-lwwwssl" 
      LIBWWWSSL='${top_builddir}/Library/src/SSL/libwwwssl.la'
      WWWSSLEX='wwwssl$(EXEEXT)'
+     AC_DEFINE(HT_SSL, 1, [Define to enable ssl transport.])
      ;;
    esac ],
  [ AC_MSG_RESULT(no) ])
Index: Robot/src/HTRobMan.html
===================================================================
RCS file: /sources/public/libwww/Robot/src/HTRobMan.html,v
retrieving revision 1.9
diff -c -r1.9 HTRobMan.html
*** Robot/src/HTRobMan.html	14 Mar 1999 02:21:09 -0000	1.9
--- Robot/src/HTRobMan.html	26 Feb 2005 21:11:45 -0000
***************
*** 24,29 ****
--- 24,33 ----
  #include "WWWInit.h"
  #include "WWWSQL.h"
  
+ #ifdef HT_SSL
+ #include "WWWSSL.h"
+ #endif /* HT_SSL */
+ 
  #include "HText.h"
  
  #include "HTRobot.h"			     		 /* Implemented here */
Index: Robot/src/Makefile.am
===================================================================
RCS file: /sources/public/libwww/Robot/src/Makefile.am,v
retrieving revision 1.32
diff -c -r1.32 Makefile.am
*** Robot/src/Makefile.am	23 Jan 2005 18:37:38 -0000	1.32
--- Robot/src/Makefile.am	26 Feb 2005 21:11:45 -0000
***************
*** 20,27 ****
  	$(top_builddir)/Library/src/libwwwtrans.la \
  	$(top_builddir)/Library/src/libwwwcore.la \
  	$(top_builddir)/Library/src/libwwwutils.la \
! 	$(top_builddir)/Library/src/SSL/libwwwssl.la \
! 	-lm @LIBWWWXML@ @LIBWWWZIP@ @LIBWWWWAIS@ @LIBWWWSQL@ @LIBWWWMD5@
  
  SUBDIRS = windows
  
--- 20,26 ----
  	$(top_builddir)/Library/src/libwwwtrans.la \
  	$(top_builddir)/Library/src/libwwwcore.la \
  	$(top_builddir)/Library/src/libwwwutils.la \
! 	-lm @LIBWWWXML@ @LIBWWWZIP@ @LIBWWWWAIS@ @LIBWWWSQL@ @LIBWWWMD5@ @LIBWWWSSL@
  
  SUBDIRS = windows
  
Index: Robot/src/RobotMain.c
===================================================================
RCS file: /sources/public/libwww/Robot/src/RobotMain.c,v
retrieving revision 1.13
diff -c -r1.13 RobotMain.c
*** Robot/src/RobotMain.c	23 Jan 2005 18:29:25 -0000	1.13
--- Robot/src/RobotMain.c	26 Feb 2005 21:11:46 -0000
***************
*** 25,31 ****
  
  #include "HTRobMan.h"
  #include "RobotTxt.h"
- #include "HTSSL.h" 
  
  #define SHOW_QUIET(mr)		((mr) && !((mr)->flags & MR_QUIET))
  #define SHOW_REAL_QUIET(mr)	((mr) && !((mr)->flags & MR_REAL_QUIET))
--- 25,30 ----
***************
*** 86,91 ****
--- 85,91 ----
      HTPrint_setCallback(printer);
      HTTrace_setCallback(tracer);
  
+ #ifdef HT_SSL
      /* Set the SSL protocol method. By default, it is the highest
         available protocol. Setting it up to SSL_V23 allows the client
         to negotiate with the server and set up either TSLv1, SSLv3,
***************
*** 99,104 ****
--- 99,105 ----
  
      /* Register SSL stuff for handling ssl access */
      HTSSLhttps_init(YES);
+ #endif /* HT_SSL */
  
      /* Build a new robot object */
      mr = Robot_new();

Received on Sunday, 27 February 2005 01:36:13 UTC