summaryrefslogtreecommitdiffstats
path: root/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-29 10:17:09 +1100
committerDamien Miller <djm@mindrot.org>1999-12-29 10:17:09 +1100
commitd00d1611e4233b540d0f6f354e37fdd758a44d8f (patch)
tree92670d224ca7e5a3fd6cf2b975add1ac052285de /ssh.c
parente79334a2b06d4c897c4b764e5e94af72320e3ea9 (diff)
- Print whether OpenSSH was compiled with RSARef, patch from
Nalin Dahyabhai <nalin@thermo.stat.ncsu.edu>
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index 447878f2..f9e77220 100644
--- a/ssh.c
+++ b/ssh.c
@@ -11,7 +11,7 @@
*/
#include "includes.h"
-RCSID("$Id: ssh.c,v 1.14 1999/12/13 23:47:16 damien Exp $");
+RCSID("$Id: ssh.c,v 1.15 1999/12/28 23:17:09 damien Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -305,7 +305,11 @@ main(int ac, char **av)
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;