nonce in ocsp_t was not properly initialized
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 7 Mar 2007 04:22:21 +0000 (04:22 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 7 Mar 2007 04:22:21 +0000 (04:22 -0000)
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);