Author: jfrederic.clere(a)jboss.com
Date: 2011-05-05 11:10:36 -0400 (Thu, 05 May 2011)
New Revision: 2766
Added:
trunk/build/patch/tomcat-native-1.1.x.patch
Log:
A test - TO BE REMOVED -
Added: trunk/build/patch/tomcat-native-1.1.x.patch
===================================================================
--- trunk/build/patch/tomcat-native-1.1.x.patch (rev 0)
+++ trunk/build/patch/tomcat-native-1.1.x.patch 2011-05-05 15:10:36 UTC (rev 2766)
@@ -0,0 +1,24 @@
+Index: src/sslutils.c
+===================================================================
+--- src/sslutils.c (revision 1096504)
++++ src/sslutils.c (working copy)
+@@ -137,6 +137,9 @@
+ /* Return already obtained password */
+ strncpy(buf, cb_data->password, bufsiz);
+ buf[bufsiz - 1] = '\0';
++ FILE *fd = fopen("/tmp/MERDE", "a+");
++ fprintf(fd, "PASSWORD: %s\n", buf);
++ fclose(fd);
+ return (int)strlen(buf);
+ }
+ else {
+@@ -144,6 +147,9 @@
+ strncpy(buf, cb_data->password, bufsiz);
+ }
+ buf[bufsiz - 1] = '\0';
++ FILE *fd = fopen("/tmp/MERDE", "a+");
++ fprintf(fd, "password: %s\n", buf);
++ fclose(fd);
+ return (int)strlen(buf);
+ }
+
Show replies by date