Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: openssl/crypto/ocsp/ocsp_lib.c

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « openssl/crypto/ocsp/ocsp_ht.c ('k') | openssl/crypto/ocsp/ocsp_prn.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl/crypto/ocsp/ocsp_lib.c
===================================================================
--- openssl/crypto/ocsp/ocsp_lib.c (revision 105093)
+++ openssl/crypto/ocsp/ocsp_lib.c (working copy)
@@ -69,6 +69,7 @@
#include <openssl/pem.h>
#include <openssl/x509v3.h>
#include <openssl/ocsp.h>
+#include <openssl/asn1t.h>
/* Convert a certificate and its issuer to an OCSP_CERTID */
@@ -169,14 +170,14 @@
char *host, *port;
+ *phost = NULL;
+ *pport = NULL;
+ *ppath = NULL;
+
/* dup the buffer since we are going to mess with it */
buf = BUF_strdup(url);
if (!buf) goto mem_err;
- *phost = NULL;
- *pport = NULL;
- *ppath = NULL;
-
/* Check for initial colon */
p = strchr(buf, ':');
@@ -260,3 +261,5 @@
return 0;
}
+
+IMPLEMENT_ASN1_DUP_FUNCTION(OCSP_CERTID)
« no previous file with comments | « openssl/crypto/ocsp/ocsp_ht.c ('k') | openssl/crypto/ocsp/ocsp_prn.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698