00001 /*** Copyright (c), The Regents of the University of California *** 00002 *** For more information please refer to files in the COPYRIGHT directory ***/ 00003 00004 /* See sslEnd.h for a description of this API call.*/ 00005 00006 #include "sslEnd.h" 00007 00008 int 00009 rsSslEnd(rsComm_t *rsComm, sslEndInp_t *sslEndInp) 00010 { 00011 #if defined(USE_SSL) 00012 00013 /* if SSL isn't on, just return success */ 00014 if (!rsComm->ssl_on) { 00015 return 0; 00016 } 00017 00018 /* let the agent service loop know that it needs to shut 00019 down SSL after this API call completes */ 00020 rsComm->ssl_do_shutdown = 1; 00021 00022 return 0; 00023 #else 00024 return SSL_NOT_BUILT_INTO_SERVER; 00025 #endif 00026 } 00027