mirror of
https://github.com/kenzok8/small.git
synced 2025-01-08 12:08:21 +08:00
21 lines
911 B
Diff
21 lines
911 B
Diff
--- a/src/obfs/obfs.c
|
|
+++ b/src/obfs/obfs.c
|
|
@@ -88,7 +88,7 @@ obfs_class *new_obfs_class(const char *p
|
|
plugin->client_decode = tls12_ticket_auth_client_decode;
|
|
|
|
return plugin;
|
|
- /*} else if (strcmp(plugin_name, "verify_simple") == 0) {
|
|
+ } else if (strcmp(plugin_name, "verify_simple") == 0) {
|
|
obfs_class * plugin = (obfs_class*)malloc(sizeof(obfs_class));
|
|
plugin->init_data = init_data;
|
|
plugin->new_obfs = verify_simple_new_obfs;
|
|
@@ -115,7 +115,7 @@ obfs_class *new_obfs_class(const char *p
|
|
plugin->client_udp_pre_encrypt = NULL;
|
|
plugin->client_udp_post_decrypt = NULL;
|
|
|
|
- return plugin;*/
|
|
+ return plugin;
|
|
} else if (strcmp(plugin_name, "auth_sha1") == 0) {
|
|
obfs_class *plugin = (obfs_class *) malloc(sizeof(obfs_class));
|
|
plugin->init_data = auth_simple_init_data;
|