FreeBSD Bugzilla – Attachment 105709 Details for
Bug 146218
[PATCH] www/apache20: compile error with security/openssl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.26 KB, created by
Kazuo Dohzono
on 2010-05-01 14:40:09 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Kazuo Dohzono
Created:
2010-05-01 14:40:09 UTC
Size:
1.26 KB
patch
obsolete
>--- ssl_engine_init.c.orig 2007-12-29 00:07:53.000000000 +0900 >+++ ssl_engine_init.c 2010-05-01 22:17:22.000000000 +0900 >@@ -531,7 +531,7 @@ > ssl_die(); > } > >- SSL_CTX_set_client_CA_list(ctx, (STACK *)ca_list); >+ SSL_CTX_set_client_CA_list(ctx, ca_list); > } > > /* >--- ssl_util_ssl.c.orig 2006-07-12 16:40:55.000000000 +0900 >+++ ssl_util_ssl.c 2010-05-01 22:20:18.000000000 +0900 >@@ -291,7 +291,7 @@ > #ifdef HAVE_SSL_X509V3_EXT_d2i > X509_EXTENSION *ext; > int ext_nid; >- STACK *sk; >+ STACK_OF(SSL_CIPHER) *sk; > BOOL is_sgc; > int idx; > int i; >@@ -300,7 +300,7 @@ > idx = X509_get_ext_by_NID(cert, NID_ext_key_usage, -1); > if (idx >= 0) { > ext = X509_get_ext(cert, idx); >- if ((sk = (STACK *)X509V3_EXT_d2i(ext)) != NULL) { >+ if ((sk = X509V3_EXT_d2i(ext)) != NULL) { > for (i = 0; i < sk_num(sk); i++) { > ext_nid = OBJ_obj2nid((ASN1_OBJECT *)sk_value(sk, i)); > if (ext_nid == NID_ms_sgc || ext_nid == NID_ns_sgc) { >@@ -466,7 +466,7 @@ > X509 *x509; > unsigned long err; > int n; >- STACK *extra_certs; >+ STACK_OF(X509) *extra_certs; > > if ((bio = BIO_new(BIO_s_file_internal())) == NULL) > return -1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 146218
: 105709