nonce in ocsp_t was not properly initialized
This commit is contained in:
@@ -499,6 +499,7 @@ ocsp_t *ocsp_create(x509_t *cacert, linked_list_t *uris)
|
|||||||
this->cacert = cacert;
|
this->cacert = cacert;
|
||||||
this->uris = uris;
|
this->uris = uris;
|
||||||
this->certinfos = linked_list_create();
|
this->certinfos = linked_list_create();
|
||||||
|
this->nonce = chunk_empty;
|
||||||
{
|
{
|
||||||
hasher_t *hasher = hasher_create(HASH_SHA1);
|
hasher_t *hasher = hasher_create(HASH_SHA1);
|
||||||
identification_t *issuer = cacert->get_subject(cacert);
|
identification_t *issuer = cacert->get_subject(cacert);
|
||||||
|
|||||||
Reference in New Issue
Block a user