[ http://issues.apache.org/jira/browse/AXISCPP-700?page=all ]
     
Fred Preston resolved AXISCPP-700:
----------------------------------

    Resolution: Fixed

Added extra checking as suggested in jira

> Attempting to set SSL properties in config file without defining a SSL library
> ------------------------------------------------------------------------------
>
>          Key: AXISCPP-700
>          URL: http://issues.apache.org/jira/browse/AXISCPP-700
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> If AXISCPP.CONF contains some SSL configuration information, but not SSL 
> library has been declared then the HTTPTransport will try to call methods on 
> a NULL pointer (this is because no SSL library object has been loaded into 
> that pointer).
> e.g.
> int HTTPTransport::setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE 
> type, const char *value) throw (HTTPTransportException)
> {
> :
> case SECURE_PROPERTIES:
> {
>     iSuccess = m_pActiveChannel->setSecureProperties( value);
>   break;
> }
> :
> }
> becomes:
> case SECURE_PROPERTIES:
> {
>   if( m_pActiveChannel != NULL)
>   {
>     iSuccess = m_pActiveChannel->setSecureProperties( value);
>   }
>   break;
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to