Avoid useless copies and protect keys

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-02-06 18:09:52 +00:00
parent d4546ccae0
commit d8ede46d8a
2 changed files with 16 additions and 15 deletions

1
mud.h
View File

@@ -9,7 +9,6 @@ void mud_delete (struct mud *);
int mud_get_fd (struct mud *);
int mud_new_key (struct mud *);
int mud_set_key (struct mud *, unsigned char *, size_t);
int mud_get_key (struct mud *, unsigned char *, size_t *);