You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/10/20 13:36:37 UTC

DO NOT REPLY [Bug 50121] New: OCSP Stapling compiler warnings when using OpenSSL-1.x

https://issues.apache.org/bugzilla/show_bug.cgi?id=50121

           Summary: OCSP Stapling compiler warnings when using OpenSSL-1.x
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rob@comodo.com


Created an attachment (id=26186)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26186)
Make ssl_util_stapling.c compile cleanly against OpenSSL-1.x

When compiling httpd 2.3-HEAD against OpenSSL CVS-HEAD, I see the following
warnings (I'm using GCC 4.4.3):

ssl_util_stapling.c: In function 'ssl_stapling_init_cert':
ssl_util_stapling.c:140: warning: assignment from incompatible pointer type
ssl_util_stapling.c:142: warning: passing argument 1 of 'sk_pop' from
incompatible pointer type
/include/openssl/stack.h:96: note: expected 'struct _STACK *' but argument is
of type 'struct stack_st_STRING *'
ssl_util_stapling.c:148: warning: passing argument 1 of 'X509_email_free' from
incompatible pointer type
/include/openssl/x509v3.h:701: note: expected 'struct stack_st_OPENSSL_STRING
*' but argument is of type 'struct stack_st_STRING *'

I see the same warnings when compiling against OpenSSL-1.0.0a, but no warnings
when compiling against OpenSSL-0.9.8o.

I'm guessing these warnings might be unimportant, but nonetheless I've attached
a patch to get ssl_util_stapling.c to compile cleanly against OpenSSL 0.9.8o,
1.0.0a and CVS-HEAD.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50121] OCSP Stapling compiler warnings when using OpenSSL-1.x

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50121

Guenter Knauf <ef...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         OS/Version|Linux                       |All

--- Comment #1 from Guenter Knauf <ef...@gmx.net> 2010-11-30 02:36:11 EST ---
A slightly different fix was commited to tunk with r1040366.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org