try to fix different const qualifiers in openssl 1.0

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15782 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-12-04 01:41:58 +00:00
parent 6158aac6ab
commit 8dd6f9c6e0
1 changed files with 4 additions and 0 deletions

View File

@ -513,7 +513,11 @@ int tls_post_connection_check(tport_t *self, tls_t *tls)
for (i = 0; i < extcount; i++) {
X509_EXTENSION *ext;
char const *name;
#if OPENSSL_VERSION_NUMBER > 0x10000000L
const X509V3_EXT_METHOD *vp;
#else
X509V3_EXT_METHOD *vp;
#endif
STACK_OF(CONF_VALUE) *values;
CONF_VALUE *value;
void *d2i;