Hi,
I'm currently working on a project for a class in shcool, i need to develop a basic client to interact with the openssl server, using a trustore and CA's.
I simply run the openssl server...
Type: Posts; User: Ricardo_R5
Hi,
I'm currently working on a project for a class in shcool, i need to develop a basic client to interact with the openssl server, using a trustore and CA's.
I simply run the openssl server...
Thanks, i analized the malloc() function again, didn't notice that free was also a must to free memory allocated, i was in a rush to get this done :-)
Also thanks quzah, i thougt scanf() was...
if you mean outside the function defineDir() yes i was using scanf, but inside defineDir() i removed all scanf()...
ok I resolve the problem with malloc() function like this
/* LIKE 'CD' CHANGES DIR ON SERVER */
defineDIR(char *server)
{
CLIENT *clnt;
int *result;
char *dir;
One more thing by declaring char dir[128]; for example i cannot pass the 1st argument of function
result = fixadir_1(&dir, clnt);
like "&dir" how is the correct way of passing "dir" as a argument...
1st of all thank you all for your reply's, I did also try to allocate memory by doing char dir[256]; and it didn't work, i'll try to use the fgets();
Salem I usualy use "main(int argc, char...
Hi all,
I know scanf can generate some input errors, and gets should be avoided at all cost, so I wonder if someone can sugest a work around for a problem I have.
I'm using rcpgen to generate...