diff --git a/Makefile b/Makefile index af4687f..e3a0d81 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,3 @@ all: - g++ -I./ src/cpp/RSA-Chat.cpp src/cpp/text.cpp -lcrypto -o RSA-Chat \ No newline at end of file + g++ -I./ src/cpp/RSA-Chat.cpp src/cpp/text.cpp -lcrypto -o RSA-Chat + /home/sakitsuki_asahi/mxe/usr/bin/x86_64-w64-mingw32.static-g++ src/cpp/RSA-Chat.cpp src/cpp/text.cpp -I./ -I../openssl-3.5.1/install/include/ -L../openssl-3.5.1/install/lib64/ -lcrypto -std=c++11 -lws2_32 -o RSA-Chat.exe \ No newline at end of file diff --git a/RSA-Chat b/RSA-Chat index 0496fcd..d56364a 100755 Binary files a/RSA-Chat and b/RSA-Chat differ diff --git a/RSA-Chat.exe b/RSA-Chat.exe index 74f9e39..9f49c1f 100755 Binary files a/RSA-Chat.exe and b/RSA-Chat.exe differ diff --git a/src/cpp/RSA-Chat.cpp b/src/cpp/RSA-Chat.cpp index 0ffc708..044f43d 100644 --- a/src/cpp/RSA-Chat.cpp +++ b/src/cpp/RSA-Chat.cpp @@ -112,7 +112,7 @@ int main(int argn,char* argc[]){ PEM_read_bio_PUBKEY(peer_bio,&peer_key,nullptr,nullptr); peer_bits = EVP_PKEY_bits(peer_key); } - fio.open("/home/sakitsuki_asahi/ssl/rsa/local.key",std::ios::in); + fio.open("local.key",std::ios::in); if(!fio.is_open()){ fio.close(); listen_mode=false;