diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-04-06 19:34:36 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-04-06 19:34:36 +0800 |
commit | 6a5f58f6746d9c23ef0ad96af5c5d63c199735f7 (patch) | |
tree | 340900f6748919c6df33023b382f7eda05c53859 | |
parent | f2b74d1eee3deef5146cd8b57ce382ea6733d483 (diff) | |
download | freebsd-ports-gnome-6a5f58f6746d9c23ef0ad96af5c5d63c199735f7.tar.gz freebsd-ports-gnome-6a5f58f6746d9c23ef0ad96af5c5d63c199735f7.tar.zst freebsd-ports-gnome-6a5f58f6746d9c23ef0ad96af5c5d63c199735f7.zip |
- fix build with openssl-1.0.0
-rw-r--r-- | www/apache13-modssl/files/patch-ssl_util_ssl.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/apache13-modssl/files/patch-ssl_util_ssl.c b/www/apache13-modssl/files/patch-ssl_util_ssl.c new file mode 100644 index 000000000000..7114310c6b86 --- /dev/null +++ b/www/apache13-modssl/files/patch-ssl_util_ssl.c @@ -0,0 +1,20 @@ +--- src/modules/ssl/ssl_util_ssl.c.orig 2006-05-08 09:15:38.000000000 +0200 ++++ src/modules/ssl/ssl_util_ssl.c 2010-04-06 13:36:01.000000000 +0200 +@@ -324,7 +324,7 @@ + { + X509_EXTENSION *ext; + int ext_nid; +- STACK *sk; ++ STACK_OF(SSL_CIPHER) *sk; + BOOL is_sgc; + int idx; + int i; +@@ -333,7 +333,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) { |