missed a few references to delete
authorArt Cancro <ajc@citadel.org>
Tue, 11 Jan 2022 23:54:49 +0000 (18:54 -0500)
committerArt Cancro <ajc@citadel.org>
Tue, 11 Jan 2022 23:54:49 +0000 (18:54 -0500)
textclient/citadel.c
textclient/textclient.h

index 534f721e360d6ef58775a70372f41e2d2278d2c6..c22a2efacc3da0bdf0e21d9a9b9309d7424a423e 100644 (file)
@@ -1,6 +1,6 @@
 // Main source module for the client program.
 //
-// Copyright (c) 1987-2019 by the citadel.org team
+// Copyright (c) 1987-2022 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, and/or
 // disclosure are subject to the GNU General Purpose License version 3.
@@ -1376,7 +1376,6 @@ int main(int argc, char **argv) {
        char argbuf[64];        /* command line buf */
        char *telnet_client_host = NULL;
        char *sptr, *sptr2;     /* USed to extract the nonce */
-       char hexstring[MD5_HEXSTRING_SIZE];
        char password[SIZ];
        struct ctdlipcmisc chek;
        struct ctdluser *myself = NULL;
index 7d231d76c8bbda83a46661dcc52b3ce26bedb70c..282bdffb45da49b9a0ac692b984021e5308dd08f 100644 (file)
@@ -533,34 +533,6 @@ extern char rc_gotmail_cmd[SIZ];
 extern int lines_printed;
 extern int rc_remember_passwords;
 
-#ifndef MD5_H
-#define MD5_H
-
-struct MD5Context {
-       uint32_t buf[4];
-       uint32_t bits[2];
-       uint32_t in[16];
-};
-
-void MD5Init(struct MD5Context *context);
-void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len);
-void MD5Final(unsigned char digest[16], struct MD5Context *context);
-void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
-char *make_apop_string(char *realpass, char *nonce, char *buffer, size_t n);
-
-/*
- * This is needed to make RSAREF happy on some MS-DOS compilers.
- */
-#ifndef HAVE_OPENSSL
-typedef struct MD5Context MD5_CTX;
-#endif
-
-#define MD5_DIGEST_LEN         16
-#define MD5_HEXSTRING_SIZE     33
-
-#endif /* !MD5_H */
-
-
 #define MAXURLS                50                      // Max embedded URL's per message (oooh, can we use our elastic array class here?)
 extern int num_urls;
 extern char urls[MAXURLS][SIZ];