summaryrefslogtreecommitdiff
path: root/lib/gnutls_sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_sig.c')
-rw-r--r--lib/gnutls_sig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_sig.c b/lib/gnutls_sig.c
index b4c68843f4..04d61541d8 100644
--- a/lib/gnutls_sig.c
+++ b/lib/gnutls_sig.c
@@ -127,7 +127,7 @@ _gnutls_tls_sign_hdata (gnutls_session_t session,
{
gnutls_datum_t dconcat;
int ret;
- opaque concat[36];
+ opaque concat[MAX_SIG_SIZE];
digest_hd_st td_md5;
digest_hd_st td_sha;
gnutls_protocol_t ver = gnutls_protocol_get_version (session);
@@ -458,7 +458,7 @@ _gnutls_verify_sig_hdata (gnutls_session_t session, gnutls_cert * cert,
gnutls_datum_t * signature)
{
int ret;
- opaque concat[36];
+ opaque concat[MAX_SIG_SIZE];
digest_hd_st td_md5;
digest_hd_st td_sha;
gnutls_datum_t dconcat;