Opened 14 years ago

Last modified 14 years ago

#5 closed Bug / Defect

Fix OpenSSL-1.0.0 compilation warnings — at Version 1

Reported by: David Sommerseth Owned by:
Priority: major Milestone: beta 2.2
Component: Building / Compiling Version: OpenVPN git master branch (Community Ed)
Severity: Patch Queue: Awaiting testing before ACK Keywords:
Cc:

Description (last modified by David Sommerseth)

Compiled the master branch from openvpn-testing.git on Fedora 12, and
noticed these warnings:


ssl.c: In function ‘verify_callback’:
ssl.c:944: warning: passing argument 1 of ‘sk_num’ from incompatible
pointer type
/usr/include/openssl/stack.h:79: note: expected ‘const struct _STACK *’
but argument is of type ‘struct stack_st_X509_REVOKED *’
ssl.c:947: warning: passing argument 1 of ‘sk_value’ from incompatible
pointer type
/usr/include/openssl/stack.h:80: note: expected ‘const struct _STACK *’
but argument is of type ‘struct stack_st_X509_REVOKED *’
ssl.c: In function ‘init_ssl’:
ssl.c:1565: warning: passing argument 1 of ‘sk_num’ from incompatible
pointer type
/usr/include/openssl/stack.h:79: note: expected ‘const struct _STACK *’
but argument is of type ‘struct stack_st_X509 *’
ssl.c: In function ‘print_details’:
ssl.c:1766: warning: assignment discards qualifiers from pointer target type


$ rpm -q openssl openssl-devel
openssl-1.0.0-0.13.beta4.fc12.x86_64
openssl-devel-1.0.0-0.13.beta4.fc12.x86_64

http://thread.gmane.org/gmane.network.openvpn.devel/3091

Change History (1)

comment:1 Changed 14 years ago by David Sommerseth

Description: modified (diff)
Milestone: beta 2.2
Note: See TracTickets for help on using tickets.