Explorar el Código

change filename

Marino Faggiana hace 7 años
padre
commit
9caa0776fd
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      iOSClient/Security/NCClientEncryption.m

+ 2 - 2
iOSClient/Security/NCClientEncryption.m

@@ -188,8 +188,8 @@ cleanup:
 
 - (void)savePEMWithCert:(X509 *)x509 key:(EVP_PKEY *)pkey directoryUser:(NSString *)directoryUser finished:(void (^)(NSError *))finished
 {
-    NSString *keyPath = [NSString stringWithFormat:@"%@/privatekey.pem", directoryUser];
-    NSString *certPath = [NSString stringWithFormat:@"%@/certificate.crt", directoryUser];
+    NSString *keyPath = [NSString stringWithFormat:@"%@/e2e_privatekey.pem", directoryUser];
+    NSString *certPath = [NSString stringWithFormat:@"%@/e2e_certificate.pem", directoryUser];
     
     FILE *f = fopen([keyPath fileSystemRepresentation], "wb");