diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 4bf974a8994c2ee687383ddb4194759098412bb5..0000000000000000000000000000000000000000 --- a/.gitignore +++ /dev/null @@ -1,52 +0,0 @@ -# Prerequisites -*.d -*.autosave -# Object files -*.o -*.ko -*.obj -*.elf - -# Linker output -*.ilk -*.map -*.exp - -# Precompiled Headers -*.gch -*.pch - -# Libraries -*.lib -*.a -*.la -*.lo - -# Shared objects (inc. Windows DLLs) -*.dll -*.so -*.so.* -*.dylib - -# Executables -*.exe -*.out -*.app -*.i*86 -*.x86_64 -*.hex - -# Debug files -*.dSYM/ -*.su -*.idb -*.pdb - -# Kernel Module Compile Results -*.mod* -*.cmd -.tmp_versions/ -modules.order -Module.symvers -Mkfile.old -dkms.conf diff --git a/crypto/dap_enc_key.h b/crypto/dap_enc_key.h index 739d2a1dd680e3955192f565208ea4cc052578a5..1ab9e2cdded153fe2179ffbc380008e438e05c59 100644 --- a/crypto/dap_enc_key.h +++ b/crypto/dap_enc_key.h @@ -74,12 +74,13 @@ typedef enum dap_enc_key_type{ DAP_ENC_KEY_TYPE_AES, // Symmetric AES // (Bos, Ducas, Kiltz, Lepoint, Lyubashevsky, Schwabe, Shanck, Stehlé) // Real World Crypto 2017, https://eprint.iacr.org/2017/634) // using the reference C implementation of Kyber from pq-crystals/kyber - DAP_ENC_KEY_TYPE_SIG_PICNIC // signature based on zero-knowledge proof as specified in + DAP_ENC_KEY_TYPE_SIG_PICNIC, // signature based on zero-knowledge proof as specified in // Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives // (Melissa Chase and David Derler and Steven Goldfeder and Claudio Orlandi // and Sebastian Ramacher and Christian Rechberger and Daniel Slamanig and Greg Zaverucha // https://eprint.iacr.org/2017/279.pdf), using the optimized implemenation // from https://github.com/IAIK/Picnic + DAP_ENC_KEY_TYPE_FNAM2 //ХЗ ЧТО, ДОБÐВИЛ ЧТОБЫ БЫЛО И ÐРМЕÐЯ КОМПИЛЯТОРÐЕ РУГÐЛСЯ:( } dap_enc_key_type_t; struct dap_enc_key; diff --git a/http/dap_http_client_simple.c b/http/dap_http_client_simple.c index 534d7c25845da9bf57d160bdd214faa8322ca85a..9a7c207af2e5945835071da959659c9b67d2290f 100644 --- a/http/dap_http_client_simple.c +++ b/http/dap_http_client_simple.c @@ -287,7 +287,7 @@ static void* dap_http_client_thread(void * arg) case CURLE_COULDNT_RESOLVE_HOST: l_err_code = 3 ; log_it(L_ERROR, "Couldn't resolve destination address"); break; case CURLE_OPERATION_TIMEDOUT: l_err_code = 4 ; log_it(L_ERROR, "HTTP request timeout"); break; case CURLE_URL_MALFORMAT: l_err_code = 5 ; log_it(L_ERROR, "Wrong URL format in the outgoing request"); break; - case CURLE_WEIRD_SERVER_REPLY: l_err_code = 6 ; log_it(L_WARNING, "Weird server reply"); break; + //case CURLE_WEIRD_SERVER_REPLY: l_err_code = 6 ; log_it(L_WARNING, "Weird server reply"); break; case CURLE_OK:{ l_is_ok = true; log_it(L_DEBUG, "Response size %u",l_client_internal->response_size);