nonce in ocsp_t was not properly initialized
[strongswan.git] / src / libstrongswan / crypto / ocsp.c
index 4502e44..b5112ef 100644 (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);