Git Product home page Git Product logo

Comments (8)

pphaneuf avatar pphaneuf commented on May 3, 2024

What steps will reproduce the problem?

  1. $ svn co https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x httpd-2.4
  2. $ cd httpd-2.4
  3. $ svn co https://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr
  4. patch -p0 < /path/to/certificate-transparency/src/test/apache-serverinfo.patch

The result is

patching file CHANGES
Hunk #1 succeeded at 192 with fuzz 2 (offset 190 lines).
patching file modules/ssl/mod_ssl.c
Hunk #1 FAILED at 94.
Hunk #2 succeeded at 295 (offset 2 lines).
1 out of 2 hunks FAILED -- saving rejects to file modules/ssl/mod_ssl.c.rej
patching file modules/ssl/ssl_engine_config.c
Hunk #1 succeeded at 121 (offset -4 lines).
Hunk #2 succeeded at 267 (offset 5 lines).
Hunk #3 succeeded at 818 (offset -32 lines).
patching file modules/ssl/ssl_engine_init.c
Hunk #1 FAILED at 997.
Hunk #2 FAILED at 1036.
Hunk #3 FAILED at 1173.
3 out of 3 hunks FAILED -- saving rejects to file modules/ssl/ssl_engine_init.c.rej
patching file modules/ssl/ssl_private.h
Hunk #1 succeeded at 590 (offset -72 lines).
Hunk #2 succeeded at 675 (offset -69 lines).
patching file modules/ssl/ssl_util.c
Hunk #1 succeeded at 316 (offset -128 lines).
Hunk #2 succeeded at 356 (offset -128 lines).

Hunk #3 succeeded at 389 (offset -128 lines).

I'm using current sources of CT, Debian Linux.

The chunk from modules/ssl/mod_ssl.c can be applied manually but the function ssl_server_import_cert in modules/ssl/ssl_engine_init.c is absent at all.

from certificate-transparency.

pphaneuf avatar pphaneuf commented on May 3, 2024

Ben, as the author, could you please have a look?

from certificate-transparency.

pphaneuf avatar pphaneuf commented on May 3, 2024

Sure can.

from certificate-transparency.

pphaneuf avatar pphaneuf commented on May 3, 2024

I have not managed to test the attached patch yet, but it does compile. Do let me know if you get a chance to test it, I'm out of time today, so will get to it next week.

from certificate-transparency.

pphaneuf avatar pphaneuf commented on May 3, 2024

Now patch applies and compiles, but I get an error:

beldmit@CT$ ./run_apache_server.sh /home/beldmit/httpd-2.4/ /usr/local/ssl/
AH00526: Syntax error on line 26 of /home/beldmit/certificate-transparency/src/test/httpd-devel.conf:
Invalid command 'SSLRSAInfoFile', perhaps misspelled or defined by a module not included in the server configuration

from certificate-transparency.

pphaneuf avatar pphaneuf commented on May 3, 2024

You should use SSLCertificateInfoFile instead.

from certificate-transparency.

pphaneuf avatar pphaneuf commented on May 3, 2024

Thank you, it (apache) works!

from certificate-transparency.

pphaneuf avatar pphaneuf commented on May 3, 2024

Fixed by 0ee29e0.

from certificate-transparency.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.