Browse Source

no room for nul terminator

Francois Perrad 8 years ago
parent
commit
b6c27c2f08
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/stream/chacha/chacha_setup.c

+ 2 - 2
src/stream/chacha/chacha_setup.c

@@ -16,8 +16,8 @@
 
 #ifdef LTC_CHACHA
 
-static const char sigma[16] = "expand 32-byte k";
-static const char tau[16]   = "expand 16-byte k";
+static const char * const sigma = "expand 32-byte k";
+static const char * const tau   = "expand 16-byte k";
 
 /**
    Initialize an ChaCha context (only the key)