#include "options.h"
#include "ssl_backend.h"
-#include "mock_msg.h"
#include "mss.h"
static const char testtext[] = "Dummy text to test PEM encoding";
/* common defaults */
o.ce.tun_mtu = 1400;
- o.replay = true;
o.ce.proto = PROTO_UDP;
/* No crypto at all */
linkmtu = calc_options_string_link_mtu(&o, &f);
assert_int_equal(linkmtu, 1405);
- /* tls client, auth none, cipher none, no-replay */
- o.replay = false;
-
- linkmtu = calc_options_string_link_mtu(&o, &f);
- assert_int_equal(linkmtu, 1401);
-
-
- o.replay = true;
-
/* tls client, auth SHA1, cipher AES-256-GCM */
o.authname = "SHA1";
o.ciphername = "AES-256-GCM";
/* common defaults */
o.ce.tun_mtu = 1400;
o.ce.mssfix = 1000;
- o.replay = true;
o.ce.proto = PROTO_UDP;
/* No crypto at all */