Explorar el Código

encryptAsymmetricString

Marino Faggiana hace 7 años
padre
commit
8b4d19a7fb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;