FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/src/sniffer.c
/* Process Client Key Exchange, static RSA  */
Process Client Key Exchange, static RSA
Process Client Key Exchange static RSA
static int ProcessClientKeyExchange(const byte* input, int* sslBytes,
                            SnifferSession* session, char* error)
{
    if (session->sslServer->buffers.key == NULL ||
        session->sslServer->buffers.key->buffer == NULL ||
        session->sslServer->buffers.key->length == 0) {
        SetError(RSA_KEY_MISSING_STR, error, session, FATAL_ERROR_STATE);
        return -1;
    }
    return SetupKeys(input, sslBytes, session, error, NULL, 
        session->sslServer->buffers.key);
}
static int ProcessClientKeyExchange ( const byte * input , int * sslBytes , SnifferSession * session , char * error ) { if ( session -> sslServer -> buffers . key == NULL || session -> sslServer -> buffers . key -> buffer == NULL || session -> sslServer -> buffers . key -> length == 0 ) { SetError ( RSA_KEY_MISSING_STR , error , session , FATAL_ERROR_STATE ) ; return -1 ; } return SetupKeys ( input , sslBytes , session , error , NULL , session -> sslServer -> buffers . key ) ; }
Process Client Key Exchange, static RSA
Process Client Key Exchange static RSA