Fixed private key exporting.
[silc.git] / lib / silccrypt / aes.c
index 88877978407582fd38ea1357c69ec10ad1025391..020cc552d2484627afec92abe07d87e832c182c1 100644 (file)
@@ -149,13 +149,13 @@ SILC_CIPHER_API_CONTEXT_LEN(aes_ctr)
 }
 
 /* Encrypts with the cipher in CTR mode. Source and destination buffers
-   maybe one and same.  Assumes MSB first ordered counter. */
+   may be one and same.  Assumes MSB first ordered counter. */
 
 SILC_CIPHER_API_ENCRYPT(aes_ctr)
 {
   AesContext *aes = context;
   SilcUInt32 ctr[4];
-  int i = 16;
+  int i;
 
   SILC_GET32_MSB(ctr[0], iv);
   SILC_GET32_MSB(ctr[1], iv + 4);