]> code.citadel.org Git - citadel.git/commitdiff
* Added two more bytes to the possible length of shared secrets in networking
authorArt Cancro <ajc@citadel.org>
Tue, 4 Dec 2001 05:24:15 +0000 (05:24 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 4 Dec 2001 05:24:15 +0000 (05:24 +0000)
  due to some legacy support requirements.

citadel/ChangeLog
citadel/routines2.c

index 77c5f538de08fca75198d7b7c53a576d8702881e..abad033e915b64ca34acfe1b9154986f2244bbd2 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 580.93  2001/12/04 05:24:15  ajc
+ * Added two more bytes to the possible length of shared secrets in networking
+   due to some legacy support requirements.
+
  Revision 580.92  2001/12/04 05:16:19  ajc
  * mime_parser.c: change to memory allocation algorithm ... some badly done
    messages were crashing the server
@@ -2926,4 +2930,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index d4402081471f3df7e2e74af013a4ca8b945df064..a0499fead1df6b6fc06f635a7c091e70a062f187 100644 (file)
@@ -1061,13 +1061,13 @@ void do_ignet_configuration(void) {
                color(BRIGHT_WHITE);
                printf( "### "
                        "   Node          "
-                       "  Secret         "
+                       "  Secret           "
                        "          Host or IP             "
                        "Port#\n");
                color(DIM_WHITE);
                printf( "--- "
                        "---------------- "
-                       "---------------- "
+                       "------------------ "
                        "-------------------------------- "
                        "-----\n");
                for (i=0; i<num_recs; ++i) {
@@ -1078,7 +1078,7 @@ void do_ignet_configuration(void) {
                printf("%-16s ", buf);
                extract(buf, recs[i], 1);
                color(BRIGHT_MAGENTA);
-               printf("%-16s ", buf);
+               printf("%-18s ", buf);
                extract(buf, recs[i], 2);
                color(BRIGHT_CYAN);
                printf("%-32s ", buf);
@@ -1099,7 +1099,7 @@ void do_ignet_configuration(void) {
                                newprompt("Enter node name    : ", buf, 16);
                                strcat(buf, "|");
                                newprompt("Enter shared secret: ",
-                                       &buf[strlen(buf)], 16);
+                                       &buf[strlen(buf)], 18);
                                strcat(buf, "|");
                                newprompt("Enter host or IP   : ",
                                        &buf[strlen(buf)], 32);