$Log$
+ Revision 601.21 2002/10/07 18:59:37 ajc
+ * Build fixes for Solaris box without OpenSSL installed
+
Revision 601.20 2002/10/07 09:40:49 error
* Don't try to compile non-existent client_crypto.c (oops!)
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
#include <pwd.h>
#include <setjmp.h>
#include <stdarg.h>
+#include <errno.h>
#include "citadel.h"
#include "citadel_ipc.h"
}
}
+#ifdef HAVE_OPENSSL
/* Evaluate encryption preferences */
if (arg_encrypt != RC_NO && rc_encrypt != RC_NO) {
if (!ipc->isLocal || arg_encrypt == RC_YES || rc_encrypt == RC_YES) {
error_printf("Can't encrypt: %s\n", aaa);
}
}
+#endif
get_serv_info(ipc, telnet_client_host);
scr_printf("%-24s\n%s\n%s\n", serv_info.serv_software, serv_info.serv_humannode,
#include <netinet/in.h>
#include <netdb.h>
#include <sys/un.h>
+#include <errno.h>
#ifdef THREADED_CLIENT
#include <pthread.h>
#endif
#endif /* HAVE_OPENSSL */
+#ifndef INADDR_NONE
+#define INADDR_NONE 0xffffffff
+#endif
static void (*status_hook)(char *s) = NULL;
if (!command) return -2;
if (!proto_response) return -2;
+#ifdef HAVE_OPENSSL
if (ipc->ssl) watch_ssl = 1;
+#endif
CtdlIPC_lock(ipc);
CtdlIPC_putline(ipc, command);