// crypto info
out_uint16_le(s, SEC_TAG_SRV_CRYPT);
out_uint16_le(s, 84 + sizeof(cacert) + sizeof(server_cert)); // length
// crypto info
out_uint16_le(s, SEC_TAG_SRV_CRYPT);
out_uint16_le(s, 84 + sizeof(cacert) + sizeof(server_cert)); // length
- out_uint32_le(s, 2); // 128-bit
- out_uint32_le(s, 3); // high
+ out_uint32_le(s, 8); // 128-bit
+ out_uint32_le(s, 2); // medium
out_uint32_le(s, SEC_RANDOM_SIZE); // random_len
out_uint32_le(s, 32 + sizeof(cacert) + sizeof(server_cert)); // rsa_info_len
out_uint32_le(s, SEC_RANDOM_SIZE); // random_len
out_uint32_le(s, 32 + sizeof(cacert) + sizeof(server_cert)); // rsa_info_len
out_uint32_le(s, 0x80000002); // X.509
out_uint32_le(s, 2); // number of certificates
out_uint32_le(s, 0x80000002); // X.509
out_uint32_le(s, 2); // number of certificates