Explorar el Código

[crypto] Return a NULL OCSP check if construction fails

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown hace 13 años
padre
commit
b278094902
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/crypto/ocsp.c

+ 1
- 0
src/crypto/ocsp.c Ver fichero

217
  err_request:
217
  err_request:
218
 	ocsp_put ( *ocsp );
218
 	ocsp_put ( *ocsp );
219
  err_alloc:
219
  err_alloc:
220
+	*ocsp = NULL;
220
 	return rc;
221
 	return rc;
221
 }
222
 }
222
 
223
 

Loading…
Cancelar
Guardar