Fix member variable name from last refactoring (Windows code)
authorMichael Schuster <michael@schuster.ms>
Sat, 7 Dec 2019 23:30:50 +0000 (00:30 +0100)
committerMichael Schuster <48932272+misch7@users.noreply.github.com>
Sun, 8 Dec 2019 01:47:22 +0000 (02:47 +0100)
Signed-off-by: Michael Schuster <michael@schuster.ms>
src/gui/creds/webflowcredentials.cpp

index f6a9c1260470de3738c74a811bc78c0251b0036b..073a0c996b957886e397ac55426f174ca7a60c34 100644 (file)
@@ -276,7 +276,7 @@ void WebFlowCredentials::writeSingleClientKeyChunkPEM(QKeychain::Job *incomingJo
 #if defined(Q_OS_WIN)
         // Windows workaround: Split the private key into chunks of 2048 bytes,
         // to allow 4k (4096 bit) keys to be saved (obey Windows's limits)
-        auto chunk = _clientSslKeyChunkBufferPEM.left(_clientSslCaKeyChunkSize);
+        auto chunk = _clientSslKeyChunkBufferPEM.left(_clientSslKeyChunkSize);
 
         _clientSslKeyChunkBufferPEM = _clientSslKeyChunkBufferPEM.right(_clientSslKeyChunkBufferPEM.size() - chunk.size());
 #else