mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
compiler warning: fix
Fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
d30ddd9977
commit
79cc6c244a
@ -1255,7 +1255,7 @@ static CURLcode verifyhost(struct connectdata *conn,
|
||||
peer_CN = NULL;
|
||||
else {
|
||||
/* convert peer_CN from UTF8 */
|
||||
size_t rc = Curl_convert_from_utf8(data, peer_CN, strlen(peer_CN));
|
||||
CURLcode rc = Curl_convert_from_utf8(data, peer_CN, strlen(peer_CN));
|
||||
/* Curl_convert_from_utf8 calls failf if unsuccessful */
|
||||
if(rc) {
|
||||
OPENSSL_free(peer_CN);
|
||||
|
Loading…
x
Reference in New Issue
Block a user