Marino Faggiana 6 년 전
부모
커밋
5fc2a94527
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      iOSClient/Settings/NCEndToEndInitialize.swift

+ 1 - 1
iOSClient/Settings/NCEndToEndInitialize.swift

@@ -79,7 +79,7 @@ class NCEndToEndInitialize : NSObject  {
                         
                         
                         if (errorCode == 0 && account == self.appDelegate.activeAccount) {
                         if (errorCode == 0 && account == self.appDelegate.activeAccount) {
                             
                             
-                            CCUtility.setEndToEndPublicKey(account, publicKey: publicKey)
+                            CCUtility.setEndToEndPublicKey(account, publicKey: csr)
                             
                             
                             // Request PrivateKey chiper to Server
                             // Request PrivateKey chiper to Server
                             self.getPrivateKeyCipher()
                             self.getPrivateKeyCipher()