Made some const arrays static to avoid unnecessary stack usage.

This commit is contained in:
Dan Fandrich
2007-07-20 00:41:12 +00:00
parent dca3564cfb
commit 4a2f0fb2be
5 changed files with 7 additions and 7 deletions

View File

@@ -96,7 +96,7 @@ typedef struct {
enum sslversion { SSL2 = 1, SSL3 = 2, TLS = 4 };
cipher_s cipherlist[ciphernum] = {
static const cipher_s cipherlist[ciphernum] = {
/* SSL2 cipher suites */
{"rc4", SSL_EN_RC4_128_WITH_MD5, SSL2},
{"rc4export", SSL_EN_RC4_128_EXPORT40_WITH_MD5, SSL2},