浏览代码

change filename

Marino Faggiana 7 年之前
父节点
当前提交
9caa0776fd
共有 1 个文件被更改,包括 2 次插入2 次删除
  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");