Index: head/security/softether/files/patch-fix-build-openssl111 =================================================================== --- head/security/softether/files/patch-fix-build-openssl111 (nonexistent) +++ head/security/softether/files/patch-fix-build-openssl111 (revision 484284) @@ -0,0 +1,22 @@ +--- src/Mayaqua/Encrypt.c.orig 2018-11-06 08:15:31 UTC ++++ src/Mayaqua/Encrypt.c +@@ -2684,7 +2684,7 @@ bool RsaCheck() + BIO *bio; + char errbuf[MAX_SIZE]; + UINT size = 0; +- UINT bit = 32; ++ UINT bit = RSA_KEY_SIZE; + // Validate arguments + + // Key generation +--- src/Mayaqua/Encrypt.h.orig 2018-11-06 08:15:31 UTC ++++ src/Mayaqua/Encrypt.h +@@ -128,7 +128,7 @@ void RAND_Free_For_SoftEther(); + #define DES_IV_SIZE 8 // DES IV size + #define DES_BLOCK_SIZE 8 // DES block size + #define DES3_KEY_SIZE (8 * 3) // 3DES key size +-#define RSA_KEY_SIZE 128 // RSA key size ++#define RSA_KEY_SIZE 4096 // RSA key size + #define DH_KEY_SIZE 128 // DH key size + #define RSA_MIN_SIGN_HASH_SIZE (15 + SHA1_HASH_SIZE) // Minimum RSA hash size + #define RSA_SIGN_HASH_SIZE (RSA_MIN_SIGN_HASH_SIZE) // RSA hash size Property changes on: head/security/softether/files/patch-fix-build-openssl111 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/softether-devel/files/patch-fix-build-openssl111 =================================================================== --- head/security/softether-devel/files/patch-fix-build-openssl111 (nonexistent) +++ head/security/softether-devel/files/patch-fix-build-openssl111 (revision 484284) @@ -0,0 +1,22 @@ +--- src/Mayaqua/Encrypt.c.orig 2018-11-06 08:15:31 UTC ++++ src/Mayaqua/Encrypt.c +@@ -2684,7 +2684,7 @@ bool RsaCheck() + BIO *bio; + char errbuf[MAX_SIZE]; + UINT size = 0; +- UINT bit = 32; ++ UINT bit = RSA_KEY_SIZE; + // Validate arguments + + // Key generation +--- src/Mayaqua/Encrypt.h.orig 2018-11-06 08:15:31 UTC ++++ src/Mayaqua/Encrypt.h +@@ -128,7 +128,7 @@ void RAND_Free_For_SoftEther(); + #define DES_IV_SIZE 8 // DES IV size + #define DES_BLOCK_SIZE 8 // DES block size + #define DES3_KEY_SIZE (8 * 3) // 3DES key size +-#define RSA_KEY_SIZE 128 // RSA key size ++#define RSA_KEY_SIZE 4096 // RSA key size + #define DH_KEY_SIZE 128 // DH key size + #define RSA_MIN_SIGN_HASH_SIZE (15 + SHA1_HASH_SIZE) // Minimum RSA hash size + #define RSA_SIGN_HASH_SIZE (RSA_MIN_SIGN_HASH_SIZE) // RSA hash size Property changes on: head/security/softether-devel/files/patch-fix-build-openssl111 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property