File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -1178,9 +1178,6 @@ int wolfSSL_GetSessionFromCache(WOLFSSL* ssl, WOLFSSL_SESSION* output)
11781178 byte preallocNonceUsed = 0 ;
11791179#endif /* WOLFSSL_TLS13 */
11801180 byte tmpBufSet = 0 ;
1181- #endif
1182- #if defined(SESSION_CERTS ) && defined(OPENSSL_EXTRA )
1183- WOLFSSL_X509 * peer = NULL ;
11841181#endif
11851182 byte bogusID [ID_LEN ];
11861183 byte bogusIDSz = 0 ;
@@ -1447,13 +1444,6 @@ int wolfSSL_GetSessionFromCache(WOLFSSL* ssl, WOLFSSL_SESSION* output)
14471444 XFREE (preallocNonce , output -> heap , DYNAMIC_TYPE_SESSION_TICK );
14481445#endif /* WOLFSSL_TLS13 && WOLFSSL_TICKET_NONCE_MALLOC && FIPS_VERSION_GE(5,3)*/
14491446
1450- #endif
1451-
1452- #if defined(SESSION_CERTS ) && defined(OPENSSL_EXTRA )
1453- if (peer != NULL ) {
1454- wolfSSL_X509_free (peer );
1455- peer = NULL ;
1456- }
14571447#endif
14581448
14591449 return error ;
You can’t perform that action at this time.
0 commit comments