view gensignkey.h @ 1660:26e07f7f682a

MOTD enabled by default as the manpage says (#87) The man page (https://github.com/mkj/dropbear/blob/master/dropbear.8) says MOTD will be printed by default for any login shell, but it was disabled at compile time. Probably happened by accident when this code was moved from `options.h` to `default_options.h`.
author zciendor <37557036+zciendor@users.noreply.github.com>
date Sat, 14 Mar 2020 14:21:01 +0000
parents 4f8eb331174f
children
line wrap: on
line source

#ifndef DROPBEAR_GENSIGNKEY_H
#define DROPBEAR_GENSIGNKEY_H

#include "signkey.h"

int signkey_generate(enum signkey_type type, int bits, const char* filename, int skip_exist);
int signkey_generate_get_bits(enum signkey_type keytype, int bits);

#endif