5c060e59f4dfaaef7d80080266ed0784c7b1aa82
galt
  Mon Feb 13 15:55:34 2017 -0800
using makeRandomKey in cart.c, removed redundant copy in cartDb.c. code review feedback. refs #18737

diff --git src/inc/htmshell.h src/inc/htmshell.h
index 120272c..2a91dc7 100644
--- src/inc/htmshell.h
+++ src/inc/htmshell.h
@@ -7,30 +7,33 @@
  * which does most of the work of your web server-side applet.
  *
  * These routines will throw errors, which are caught by
  * htmShell, which then returns.  For the most part you just
  * want an error to cause an error message to be printed and
  * then terminate your CGI program, so this works fine.
  *
  * This file is copyright 2002 Jim Kent, but license is hereby
  * granted for all use - public, private or commercial. */
 
 #ifndef HTMSHELL_H      /* Wrapper to avoid including this twice. */
 #define HTMSHELL_H
 
 #include "dystring.h"
 
+char *makeRandomKey(int numBits);
+/* Generate base64 encoding of a random key of at least size numBits returning string to be freed when done */
+
 void htmlSetCookie(char* name, char* value, char* expires, char* path, char* domain, boolean isSecure);
 /* create a cookie with the given stats */
 
 void htmlParagraph(char *line, ...)
 /* Print a line in it's own paragraph. */
 #if defined(__GNUC__)
 __attribute__((format(printf, 1, 2)))
 #endif
 ;
 
 void htmlVaParagraph(char *line, va_list args);
 /* Print a line in it's own paragraph. */
 
 void htmlCenterParagraph(char *line, ...)
 /* Center a line in it's own paragraph. */