Mercurial > dropbear
annotate crypto_desc.h @ 1815:5015c80808c5
Use MAX_HOST_LEN for TCP forwarding requests (#121)
tcpip-forward request can include hostname, which is later resolved by getaddrinfo() call.
Dropbear incorrectly assumes tcpip-forward includes only IP(v4) address. Fix this.
author | ValdikSS <iam@valdikss.org.ru> |
---|---|
date | Thu, 18 Mar 2021 16:16:17 +0300 |
parents | 9169e4e7cbee |
children |
rev | line source |
---|---|
1036
deed0571cacc
DROPBEAR_ prefix for include guards to avoid collisions
Thorsten Horstmann <thorsten.horstmann@web.de>
parents:
857
diff
changeset
|
1 #ifndef DROPBEAR_CRYPTO_DESC_H |
deed0571cacc
DROPBEAR_ prefix for include guards to avoid collisions
Thorsten Horstmann <thorsten.horstmann@web.de>
parents:
857
diff
changeset
|
2 #define DROPBEAR_CRYPTO_DESC_H |
766 | 3 |
1276
9169e4e7cbee
fix empty C prototypes
Francois Perrad <francois.perrad@gadz.org>
parents:
1036
diff
changeset
|
4 void crypto_init(void); |
766 | 5 |
6 extern int dropbear_ltc_prng; | |
7 | |
1036
deed0571cacc
DROPBEAR_ prefix for include guards to avoid collisions
Thorsten Horstmann <thorsten.horstmann@web.de>
parents:
857
diff
changeset
|
8 #endif /* DROPBEAR_CRYPTO_DESC_H */ |
766 | 9 |