All pastes #147867 Raw Edit

Something

public text v1 · immutable
#147867 ·published 2006-08-24 18:29 UTC
rendered paste body
   if (conn->path) {
      /* Add leading slash */
      char *buffer;
      buffer = xmalloc(strlen(conn->path) + 1);
      buffer = "/";
      strcat(buffer, conn->path);
      debug3("OCSP request send to %s", buffer);
      resp = OCSP_sendreq_bio(bio_conn, buffer , req);
      xfree(buffer);
   } else {
      resp = OCSP_sendreq_bio(bio_conn, "/", req);
   }