[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Thu Feb 25 13:43:13 UTC 2016


The branch master has been updated
       via  5ca17d8c5c18141686e909e70bda7e8ef480ee40 (commit)
      from  72e9be3d083d8cc39ea5322409f14832b674364d (commit)


- Log -----------------------------------------------------------------
commit 5ca17d8c5c18141686e909e70bda7e8ef480ee40
Author: J Mohan Rao Arisankala <mohan at barracuda.com>
Date:   Thu Feb 25 08:31:50 2016 +0530

    GH742: keep gost specific variable under macro
    
    Signed-off-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 ssl/statem/statem_srvr.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c
index 7e63376..526b0c5 100644
--- a/ssl/statem/statem_srvr.c
+++ b/ssl/statem/statem_srvr.c
@@ -2651,7 +2651,9 @@ MSG_PROCESS_RETURN tls_process_cert_verify(SSL *s, PACKET *pkt)
 {
     EVP_PKEY *pkey = NULL;
     const unsigned char *sig, *data;
+#ifndef OPENSSL_NO_GOST
     unsigned char *gost_data = NULL;
+#endif
     int al, ret = MSG_PROCESS_ERROR;
     int type = 0, j;
     unsigned int len;
@@ -2796,7 +2798,9 @@ MSG_PROCESS_RETURN tls_process_cert_verify(SSL *s, PACKET *pkt)
     BIO_free(s->s3->handshake_buffer);
     s->s3->handshake_buffer = NULL;
     EVP_MD_CTX_free(mctx);
+#ifndef OPENSSL_NO_GOST
     OPENSSL_free(gost_data);
+#endif
     return ret;
 }
 


More information about the openssl-commits mailing list