- Fix --with-default-path option.
- Autodetect perl, patch from David Rankin
<drankin@bohemians.lexington.ky.us>
+ - Print whether OpenSSH was compiled with RSARef, patch from
+ Nalin Dahyabhai <nalin@thermo.stat.ncsu.edu>
19991228
- Replacement for getpagesize() for systems which lack it
/* Define if your ssl headers are included with #include <openssl/header.h> */
#undef HAVE_OPENSSL
+/* Define if you are linking against RSAref. Used only to print the right
+ * message at run-time. */
+#undef RSAREF
+
/* Define is utmp.h has a ut_host field */
#undef HAVE_HOST_IN_UTMP
saved_LIBS="$LIBS"
LIBS="$saved_LIBS -lRSAglue -lrsaref"
AC_TRY_LINK([], [],
-[AC_MSG_RESULT(yes); ],
+[AC_MSG_RESULT(yes);
+ AC_DEFINE(RSAREF)],
[AC_MSG_RESULT(no)]; LIBS="$saved_LIBS")
dnl Checks for libraries.
case 'V':
fprintf(stderr, "SSH Version %s, protocol version %d.%d.\n",
SSH_VERSION, PROTOCOL_MAJOR, PROTOCOL_MINOR);
+#ifndef RSAREF
fprintf(stderr, "Compiled with SSL.\n");
+#else
+ fprintf(stderr, "Compiled with SSL (RSAref version).\n");
+#endif
if (opt == 'V')
exit(0);
debug_flag = 1;
case '?':
default:
fprintf(stderr, "sshd version %s\n", SSH_VERSION);
+#ifdef RSAREF
+ fprintf(stderr, "Compiled with RSAref.\n");
+#endif
fprintf(stderr, "Usage: %s [options]\n", av0);
fprintf(stderr, "Options:\n");
fprintf(stderr, " -f file Configuration file (default %s)\n", SERVER_CONFIG_FILE);