Marino Faggiana 6 years ago
parent
commit
5fc2a94527
1 changed files with 1 additions and 1 deletions
  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) {
                             
-                            CCUtility.setEndToEndPublicKey(account, publicKey: publicKey)
+                            CCUtility.setEndToEndPublicKey(account, publicKey: csr)
                             
                             // Request PrivateKey chiper to Server
                             self.getPrivateKeyCipher()