Marino Faggiana пре 7 година
родитељ
комит
8b4d19a7fb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      iOSClient/Security/NCEndToEndEncryption.m

+ 1 - 1
iOSClient/Security/NCEndToEndEncryption.m

@@ -577,7 +577,7 @@ cleanup:
 
 - (NSData *)encryptAsymmetricString:(NSString *)plain publicKey:(NSString *)publicKey privateKey:(NSString *)privateKey
 {
-    ENGINE *eng = NULL;
+    ENGINE *eng = ENGINE_get_default_RSA();
     EVP_PKEY *key = NULL;
     int status = 0;