nonce in ocsp_t was not properly initialized

This commit is contained in:
Andreas Steffen
2007-03-07 04:22:21 +00:00
parent 7687c463da
commit 817fecddc9
+1
View File
@@ -499,6 +499,7 @@ ocsp_t *ocsp_create(x509_t *cacert, linked_list_t *uris)
this->cacert = cacert;
this->uris = uris;
this->certinfos = linked_list_create();
this->nonce = chunk_empty;
{
hasher_t *hasher = hasher_create(HASH_SHA1);
identification_t *issuer = cacert->get_subject(cacert);