ssl_cert.c (68651) | ssl_cert.c (76866) |
---|---|
1/*! \file ssl/ssl_cert.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 257 unchanged lines hidden (view full) --- 266 267 /* ret->extra_certs *should* exist, but currently the own certificate 268 * chain is held inside SSL_CTX */ 269 270 ret->references=1; 271 272 return(ret); 273 | 1/*! \file ssl/ssl_cert.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 257 unchanged lines hidden (view full) --- 266 267 /* ret->extra_certs *should* exist, but currently the own certificate 268 * chain is held inside SSL_CTX */ 269 270 ret->references=1; 271 272 return(ret); 273 |
274#ifndef NO_DH /* avoid 'unreferenced label' warning if NO_DH is defined */ |
|
274err: | 275err: |
276#endif |
|
275#ifndef NO_RSA 276 if (ret->rsa_tmp != NULL) 277 RSA_free(ret->rsa_tmp); 278#endif 279#ifndef NO_DH 280 if (ret->dh_tmp != NULL) 281 DH_free(ret->dh_tmp); 282#endif --- 473 unchanged lines hidden --- | 277#ifndef NO_RSA 278 if (ret->rsa_tmp != NULL) 279 RSA_free(ret->rsa_tmp); 280#endif 281#ifndef NO_DH 282 if (ret->dh_tmp != NULL) 283 DH_free(ret->dh_tmp); 284#endif --- 473 unchanged lines hidden --- |