From: Trevor Perrin Date: Sat, 14 Sep 2013 01:31:48 +0000 (-0700) Subject: Redo deletion of some serverinfo code that supplemental data code mistakenly reinstated. X-Git-Tag: OpenSSL_1_0_2-beta1~41^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7198c5af1fe3c9d2b38fb2c3654ab83488fcf457;p=oweals%2Fopenssl.git Redo deletion of some serverinfo code that supplemental data code mistakenly reinstated. --- diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index 0a28950875..7fcd8460a3 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c @@ -459,15 +459,6 @@ static int ssl_set_cert(CERT *c, X509 *x) X509_free(c->pkeys[i].x509); CRYPTO_add(&x->references,1,CRYPTO_LOCK_X509); c->pkeys[i].x509=x; -#ifndef OPENSSL_NO_TLSEXT - /* Free the old serverinfo data, if it exists. */ - if (c->pkeys[i].serverinfo != NULL) - { - OPENSSL_free(c->pkeys[i].serverinfo); - c->pkeys[i].serverinfo = NULL; - c->pkeys[i].serverinfo_length = 0; - } -#endif c->key= &(c->pkeys[i]); c->valid=0;