version 1.125, 2023/02/17 04:22:50 |
version 1.126, 2023/03/06 12:14:48 |
|
|
#include "compat.h" |
#include "compat.h" |
#include "log.h" |
#include "log.h" |
#include "match.h" |
#include "match.h" |
#include "kex.h" |
|
|
|
/* determine bug flags from SSH protocol banner */ |
/* determine bug flags from SSH protocol banner */ |
void |
void |
|
|
|
|
/* Always returns pointer to allocated memory, caller must free. */ |
/* Always returns pointer to allocated memory, caller must free. */ |
char * |
char * |
compat_cipher_proposal(struct ssh *ssh, char *cipher_prop) |
compat_kex_proposal(struct ssh *ssh, const char *p) |
{ |
|
return xstrdup(cipher_prop); |
|
} |
|
|
|
/* Always returns pointer to allocated memory, caller must free. */ |
|
char * |
|
compat_pkalg_proposal(struct ssh *ssh, char *pkalg_prop) |
|
{ |
|
return xstrdup(pkalg_prop); |
|
} |
|
|
|
/* Always returns pointer to allocated memory, caller must free. */ |
|
char * |
|
compat_kex_proposal(struct ssh *ssh, char *p) |
|
{ |
{ |
char *cp = NULL, *cp2 = NULL; |
char *cp = NULL, *cp2 = NULL; |
|
|