Browse Source

change filename

Marino Faggiana 7 years ago
parent
commit
9caa0776fd
1 changed files with 2 additions and 2 deletions
  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
 - (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");
     FILE *f = fopen([keyPath fileSystemRepresentation], "wb");