Correct a mixup of return values
This commit is contained in:
parent
cf89b40584
commit
f6e8c19ed1
@ -1188,11 +1188,11 @@ int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm)
|
||||
OPENSSL_free(comp);
|
||||
MemCheck_on();
|
||||
SSLerr(SSL_F_SSL_COMP_ADD_COMPRESSION_METHOD,ERR_R_MALLOC_FAILURE);
|
||||
return(0);
|
||||
return(1);
|
||||
}
|
||||
else
|
||||
{
|
||||
MemCheck_on();
|
||||
return(1);
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user