diff options
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: compat.h,v 1.52 2018/07/03 11:39:54 djm Exp $ */ | 1 | /* $OpenBSD: compat.h,v 1.53 2018/07/31 03:07:24 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999, 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 1999, 2000, 2001 Markus Friedl. All rights reserved. |
@@ -65,9 +65,15 @@ | |||
65 | 65 | ||
66 | u_int compat_datafellows(const char *); | 66 | u_int compat_datafellows(const char *); |
67 | int proto_spec(const char *); | 67 | int proto_spec(const char *); |
68 | char *compat_cipher_proposal(char *); | 68 | |
69 | char *compat_pkalg_proposal(char *); | 69 | /* |
70 | char *compat_kex_proposal(char *); | 70 | * compat_*_proposal will update their respective proposals based on the |
71 | * active compat flags. The replacement is performed in-place - i.e. they | ||
72 | * will free their argument and return a new heap-allocated string. | ||
73 | */ | ||
74 | char *compat_cipher_proposal(char *, u_int compat); | ||
75 | char *compat_pkalg_proposal(char *, u_int compat); | ||
76 | char *compat_kex_proposal(char *, u_int compat); | ||
71 | 77 | ||
72 | extern int datafellows; | 78 | extern int datafellows; |
73 | #endif | 79 | #endif |