diff options
| author | Arne Schwabe <arne@rfc2549.org> | 2017-06-23 15:05:50 +0200 | 
|---|---|---|
| committer | Arne Schwabe <arne@rfc2549.org> | 2017-06-23 15:05:50 +0200 | 
| commit | 016ffa320a620935f124f829a92de8a1b1e566cb (patch) | |
| tree | bd0576919421d116a504622d4f6faf0334e7b668 /main/jni/jbcrypto.cpp | |
| parent | f4f061955d2ba4843d699d205f28c7ef64b1e20e (diff) | |
Hack o rame to let jbcrypto hack work also with OpenSSL 1.1
Diffstat (limited to 'main/jni/jbcrypto.cpp')
| -rw-r--r-- | main/jni/jbcrypto.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/main/jni/jbcrypto.cpp b/main/jni/jbcrypto.cpp index 2fd1262a..810a3bc7 100644 --- a/main/jni/jbcrypto.cpp +++ b/main/jni/jbcrypto.cpp @@ -8,6 +8,8 @@  #include <jni.h> + +#include <internal/cryptlib.h>  #include <openssl/ssl.h>  #include <openssl/rsa.h>  #include <openssl/objects.h> @@ -15,6 +17,7 @@  #include <android/log.h>  #include <openssl/err.h> +#include <internal/evp_int.h>  extern "C" {  jbyteArray Java_de_blinkt_openvpn_core_NativeUtils_rsasign(JNIEnv* env, jclass, jbyteArray from, jint pkeyRef); | 
