tls 1.3 init

This commit is contained in:
Zhi Guan
2021-07-28 16:32:10 +08:00
parent ce7dd7fccf
commit 62d1899760
66 changed files with 3080 additions and 18101 deletions

View File

@@ -49,7 +49,6 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <libgen.h>
#include <unistd.h>
#include <gmssl/sm2.h>
#include <gmssl/tls.h>
@@ -70,7 +69,7 @@ void print_usage(const char *prog)
int main(int argc , char *argv[])
{
int ret = -1;
char *prog = basename(argv[0]);
char *prog = argv[0];
int port = 443;
char *certfile = NULL;
char *signkeyfile = NULL;