diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/build.gradle.kts | 3 | ||||
-rw-r--r-- | main/src/main/cpp/ovpnutil/osslutil.cpp | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/main/build.gradle.kts b/main/build.gradle.kts index 7a7f2c6b..4706aa2f 100644 --- a/main/build.gradle.kts +++ b/main/build.gradle.kts @@ -21,7 +21,7 @@ android { //compileSdkPreview = "UpsideDownCake" // Also update runcoverity.sh - ndkVersion = "25.2.9519653" + ndkVersion = "26.1.10909125" defaultConfig { minSdk = 21 @@ -31,6 +31,7 @@ android { versionName = "0.7.49" externalNativeBuild { cmake { + //arguments+= "-DCMAKE_VERBOSE_MAKEFILE=1" } } } diff --git a/main/src/main/cpp/ovpnutil/osslutil.cpp b/main/src/main/cpp/ovpnutil/osslutil.cpp index 6a33338e..1921223c 100644 --- a/main/src/main/cpp/ovpnutil/osslutil.cpp +++ b/main/src/main/cpp/ovpnutil/osslutil.cpp @@ -113,9 +113,12 @@ extern "C" jbyteArray Java_de_blinkt_openvpn_core_NativeUtils_rsapss(JNIEnv *env if (!EVP_DigestFinal_ex(ctx, H, nullptr)) goto err; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" /* Generate dbMask in place then perform XOR on it */ if (PKCS1_MGF1(EM, maskedDBLen, H, hLen, mgf1Hash)) goto err; +#pragma clang diagnostic pop p = EM; |