i already have the porting of openssl for psp, and i'm porting a lib that uses it.
The library works pretty well, until it needs to do a SSL connection.
Here comes the pain:
Code: Select all
newWritten = SSL_write(mySocketsSsl[idx].ssl, data, (int) (size - written));
int error = SSL_get_error(mySocketsSsl[idx].ssl,newWritten);
switch(error)
{
case SSL_ERROR_NONE:
written += newWritten;
data+=newWritten;
printf("Nessun errore\n");
break;
case SSL_ERROR_WANT_WRITE:
case SSL_ERROR_WANT_READ:
printf("WANT_READ/WANT_WRITE\n");
continue;
case SSL_ERROR_ZERO_RETURN:
printf("0 return\n");
break;
case SSL_ERROR_SSL:
printf("SSL_ERROR_SSL\n");
break;
case SSL_ERROR_WANT_CONNECT:
printf("SSL_ERROR_WANT_CONNECT\n");
break;
case SSL_ERROR_WANT_ACCEPT:
printf("SSL_ERROR_WANT_ACCEPT\n");
break;
case SSL_ERROR_SYSCALL:
printf("SSL_ERROR_SYSCALL (errno:%d)\n",errno);
err=ERR_get_error();
if (err!=0)
{
char buffer[200];
ERR_error_string(err,buffer);
printf("Error from SSL: %s\n",buffer);
}
break;
default:
printf("Unk error!\n");
break;
}
#define ENOSYS 88 /* Function not implemented */
What function does throw this error?
How to know what's this function not implemented?
Thanks for the help....i'm hitting a wall till weeks...