diff options
author | Peter Powell <petpow@saberuk.com> | 2013-05-22 21:18:50 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-06-06 01:45:04 +0100 |
commit | 37d97550b147e0d14f6a9e279f8505b7d49c84bb (patch) | |
tree | 207d703258746f1bc0902c638e511d60437dfb44 /src/modules/extra/m_ssl_gnutls.cpp | |
parent | e01df6385ef2ad1c0a78ccdd08af9af3ce688264 (diff) |
Convert a ton of uses of MAXBUF to use a fixed buffer size.
Diffstat (limited to 'src/modules/extra/m_ssl_gnutls.cpp')
-rw-r--r-- | src/modules/extra/m_ssl_gnutls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 8faee2da7..f9fddd5a1 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -803,8 +803,8 @@ class ModuleSSLGnuTLS : public Module int ret; unsigned int cert_list_size; gnutls_x509_crt_t cert; - char name[MAXBUF]; - unsigned char digest[MAXBUF]; + char name[512]; + unsigned char digest[512]; size_t digest_size = sizeof(digest); size_t name_size = sizeof(name); ssl_cert* certinfo = new ssl_cert; |