[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-10-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

Yann Ylavic  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #12 from Yann Ylavic  ---
Backported to 2.4.28 in r1807734.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-07-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

Yann Ylavic  changed:

   What|Removed |Added

   Keywords||FixedInTrunk

--- Comment #11 from Yann Ylavic  ---
Committed to trunk in r1803396 and proposed for backport to 2.4.x.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-07-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

Tianon  changed:

   What|Removed |Added

 CC||admwiggin+bzapa...@gmail.co
   ||m

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

Christian Schmidt  changed:

   What|Removed |Added

 CC||bz.apache@chsc.dk

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

--- Comment #10 from Christian Schmidt  ---
I think you also need to change ssl_engine_vars.c line 117-121.

#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
md = EVP_get_digestbynid(OBJ_obj2nid(x->sig_alg->algorithm));
#else
md = EVP_get_digestbynid(X509_get_signature_nid(x));
#endif


Otherwise, I get the following error when starting the server:

httpd: Syntax error on line 139 of /usr/local/apache2/conf/httpd.conf: Cannot
load modules/mod_ssl.so into server: Error relocating
/usr/local/apache2/modules/mod_ssl.so: X509_get_signature_nid: symbol not found

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

--- Comment #9 from Yann Ylavic  ---
(In reply to Bernard Spil from comment #8)
> 
> "next release of LibreSSL (2.6.x) will contain
> SSL_CTX_set_{min,max}_proto_version() and it is already available in
> -current."

So wouldn't somethig like:
#if defined(LIBRESSL_VERSION_NUMBER) \
&& !defined(SSL_CTRL_SET_MIN/MAX_PROTO_VERSION)
or: && !defined(SSL_CTX_set_min/max_proto_version)
be relevant right now?

Also, instead of:
#if OPENSSL_VERSION_NUMBER < 0x1010L \
|| defined(LIBRESSL_VERSION_NUMBER)
all over the place, couldn't we:
#if OPENSSL_VERSION_NUMBER >= 0x1010L \
&& !defined(LIBRESSL_VERSION_NUMBER)
#define MODSSL_HAVE_SSL_1_1_API 1
#endif
and test this instead (maybe with a better name)?


Thanks for the patch anyway! I plan to commit it but wanted your/team's
feedbacks on this change before.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

Bernard Spil  changed:

   What|Removed |Added

  Attachment #35062|0   |1
is obsolete||

--- Comment #8 from Bernard Spil  ---
Created attachment 35070
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35070=edit
unified diff for Apache 2.4.26

Updated patch for support/ab.c
"next release of LibreSSL (2.6.x) will contain
SSL_CTX_set_{min,max}_proto_version() and it is already available in -current."
see
https://github.com/libressl-portable/openbsd/commit/56f107201baefb5533486d665a58d8f57fd3aeda

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

Bernard Spil  changed:

   What|Removed |Added

  Attachment #35055|0   |1
is obsolete||

--- Comment #7 from Bernard Spil  ---
Created attachment 35063
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35063=edit
Build log FreeBSD 11.0-p9

I went through the code more rigorously checking diff between 2.4.25 and 2.4.26
for changes that I needed to tend to. Further to that I verified method
availability in LibreSSL 2.5.4.

Please do review this thoroughly!

Thanks,

Bernard.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

Bernard Spil  changed:

   What|Removed |Added

  Attachment #35054|0   |1
is obsolete||

--- Comment #6 from Bernard Spil  ---
Created attachment 35062
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35062=edit
unified diff for Apache 2.4.26

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

--- Comment #5 from Stefan Eissing  ---
What I mean was

#if defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x2000L
...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

--- Comment #4 from Stefan Eissing  ---
Hmm. This looks ugly. Would it make more sense to re#define Libressl's sense of
superiority? Something like

#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x2000L
#undef OPENSSL_VERSION_NUMBER
#define OPENSSL_VERSION_NUMBER 0x1000200eL
#endif

Or whatever version it currently is closest to? You know better than me.

Regarding the release: how would the impact be, if you need to patch that
yourself for debian? I am not sure if we want to restart the already late
release only for this. If something else comes up, we can take it in of course.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

Bernard Spil  changed:

   What|Removed |Added

  Attachment #35053|0   |1
is obsolete||

--- Comment #3 from Bernard Spil  ---
Created attachment 35055
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35055=edit
Build log FreeBSD 11.0-p9

Built with new patch-set

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

Bernard Spil  changed:

   What|Removed |Added

  Attachment #35052|0   |1
is obsolete||

--- Comment #2 from Bernard Spil  ---
Created attachment 35054
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35054=edit
unified diff for httpd 2.4.26-dev

Replace patches, were incomplete. Built OK but still warnings.
This patch-set stopped all compile warnings.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

--- Comment #1 from Bernard Spil  ---
Created attachment 35053
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35053=edit
Build log FreeBSD 11.0-p9

Poudriere logs on FreeBSD 11.0-p9 with LibreSSL replacing OpenSSL in base.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 61184] [PATCH] Fix build with LibreSSL in 2.4.26-dev

2017-06-13 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61184

William A. Rowe Jr.  changed:

   What|Removed |Added

   Keywords||PatchAvailable

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org