Ver código fonte

[crypto] Return a NULL OCSP check if construction fails

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 anos atrás
pai
commit
b278094902
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/crypto/ocsp.c

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

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
 

Carregando…
Cancelar
Salvar