From 817fecddc96fec244db7f2cdb2bb3e4d2206d4a6 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 7 Mar 2007 04:22:21 +0000 Subject: [PATCH] nonce in ocsp_t was not properly initialized --- src/libstrongswan/crypto/ocsp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstrongswan/crypto/ocsp.c b/src/libstrongswan/crypto/ocsp.c index 4502e448d..b5112ef29 100644 --- a/src/libstrongswan/crypto/ocsp.c +++ b/src/libstrongswan/crypto/ocsp.c @@ -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);