[BACK]Return to ocsp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/ocsp.c between version 1.14 and 1.15

version 1.14, 2018/02/07 05:47:55 version 1.15, 2018/02/07 05:49:36
Line 926 
Line 926 
                             NULL);                              NULL);
                         goto end;                          goto end;
                 }                  }
                 if (ca_id)                  OCSP_CERTID_free(ca_id);
                         OCSP_CERTID_free(ca_id);  
                 ca_id = OCSP_cert_to_id(cert_id_md, NULL, ca);                  ca_id = OCSP_cert_to_id(cert_id_md, NULL, ca);
   
                 /* Is this request about our CA? */                  /* Is this request about our CA? */
Line 1174 
Line 1173 
                 }                  }
         }          }
  err:   err:
         if (ctx)          OCSP_REQ_CTX_free(ctx);
                 OCSP_REQ_CTX_free(ctx);  
   
         return rsp;          return rsp;
 }  }
Line 1211 
Line 1209 
         if (!resp)          if (!resp)
                 BIO_printf(bio_err, "Error querying OCSP responder\n");                  BIO_printf(bio_err, "Error querying OCSP responder\n");
  end:   end:
         if (cbio)          BIO_free_all(cbio);
                 BIO_free_all(cbio);          SSL_CTX_free(ctx);
         if (ctx)  
                 SSL_CTX_free(ctx);  
         return resp;          return resp;
 }  }
   

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15