/* set specific ciphers */ const char * mycipher = "RSA+RC4+MD5"; // ok // const char * mycipher = "RC4-SHA"; // ok // const char * mycipher = "EDH-DSS-AES256-SHA:AES256-SHA:DES-CBC3-SHA:RC4-MD5"; // ok int ret = SSL_CTX_set_cipher_list(ctx, mycipher); if(ret==0) printf("Warning: cipher %s not supported!\n", mycipher);