/* This file is for defining functions for specific to KEIL-RL.  */
FILE* wolfSSL_fopen(const char *name, const char *openmode)
/* This file is for defining functions for specific to KEIL-RL.  */
FILE* wolfSSL_fopen(const char *name, const char *openmode)
{
    int i ;  FILE * ret ;
    #define PATHSIZE 100
    char path[PATHSIZE] ; char *p ;
    if(strlen(name) > PATHSIZE)return(NULL) ;
    for(i = 0; i<= strlen(name); i++) {
        if(name[i] == '/')path[i] = '\\' ;
        else              path[i] = name[i] ;
    }
    if(path[0] == '.' && path[1] == '\\') p = path + 2 ;
    else                                  p = path ;
    ret = fopen (p, openmode) ;
    return(ret) ;
}