diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.280 2003/10/02 10:41:59 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.281 2003/11/10 16:23:41 jakob Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -668,7 +668,8 @@ static char * | |||
668 | list_hostkey_types(void) | 668 | list_hostkey_types(void) |
669 | { | 669 | { |
670 | Buffer b; | 670 | Buffer b; |
671 | char *p; | 671 | const char *p; |
672 | char *ret; | ||
672 | int i; | 673 | int i; |
673 | 674 | ||
674 | buffer_init(&b); | 675 | buffer_init(&b); |
@@ -687,10 +688,10 @@ list_hostkey_types(void) | |||
687 | } | 688 | } |
688 | } | 689 | } |
689 | buffer_append(&b, "\0", 1); | 690 | buffer_append(&b, "\0", 1); |
690 | p = xstrdup(buffer_ptr(&b)); | 691 | ret = xstrdup(buffer_ptr(&b)); |
691 | buffer_free(&b); | 692 | buffer_free(&b); |
692 | debug("list_hostkey_types: %s", p); | 693 | debug("list_hostkey_types: %s", ret); |
693 | return p; | 694 | return ret; |
694 | } | 695 | } |
695 | 696 | ||
696 | Key * | 697 | Key * |