torture: Move TORTURE_TESTKEY_PASSWORD to header
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
57afe78167
Коммит
f81d296e54
@ -42,8 +42,6 @@
|
|||||||
/* for pattern matching */
|
/* for pattern matching */
|
||||||
#include "match.c"
|
#include "match.c"
|
||||||
|
|
||||||
#define TORTURE_TESTKEY_PASSWORD "libssh-rocks"
|
|
||||||
|
|
||||||
static const char torture_rsa_testkey[] =
|
static const char torture_rsa_testkey[] =
|
||||||
"-----BEGIN RSA PRIVATE KEY-----\n"
|
"-----BEGIN RSA PRIVATE KEY-----\n"
|
||||||
"MIIEowIBAAKCAQEArAOREUWlBXJAKZ5hABYyxnRayDZP1bJeLbPVK+npxemrhHyZ\n"
|
"MIIEowIBAAKCAQEArAOREUWlBXJAKZ5hABYyxnRayDZP1bJeLbPVK+npxemrhHyZ\n"
|
||||||
|
@ -46,6 +46,8 @@
|
|||||||
assert_true(code >= 0)
|
assert_true(code >= 0)
|
||||||
#endif /* assert_return_code */
|
#endif /* assert_return_code */
|
||||||
|
|
||||||
|
#define TORTURE_TESTKEY_PASSWORD "libssh-rocks"
|
||||||
|
|
||||||
/* Used by main to communicate with parse_opt. */
|
/* Used by main to communicate with parse_opt. */
|
||||||
struct argument_s {
|
struct argument_s {
|
||||||
const char *pattern;
|
const char *pattern;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user