mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
fix compiler warnings
This commit is contained in:
parent
3c2ad4022c
commit
dd058b8de6
@ -235,11 +235,11 @@ static SECStatus set_ciphers(struct SessionHandle *data, PRFileDesc * model,
|
||||
* Get the number of ciphers that are enabled. We use this to determine
|
||||
* if we need to call NSS_SetDomesticPolicy() to enable the default ciphers.
|
||||
*/
|
||||
static int num_enabled_ciphers()
|
||||
static int num_enabled_ciphers(void)
|
||||
{
|
||||
PRInt32 policy = 0;
|
||||
int count = 0;
|
||||
int i;
|
||||
unsigned int i;
|
||||
|
||||
for(i=0; i<NUM_OF_CIPHERS; i++) {
|
||||
SSL_CipherPolicyGet(cipherlist[i].num, &policy);
|
||||
|
Loading…
Reference in New Issue
Block a user