Fix a build issue when use external OpenSSL.
R=juberti@google.com TBR=juberti@webrtc.org BUG=webrtc:5049 Review URL: https://codereview.webrtc.org/1378353005 . Cr-Commit-Position: refs/heads/master@{#10159}
This commit is contained in:
parent
6df1ef60dc
commit
42b4faa28a
@ -359,10 +359,9 @@ std::string OpenSSLStreamAdapter::GetSslCipherSuiteName(uint16_t cipher) {
|
||||
OPENSSL_free(cipher_name);
|
||||
return rfc_name;
|
||||
#else
|
||||
ASSERT(cipher != NULL);
|
||||
for (const SslCipherMapEntry* entry = kSslCipherMap; entry->rfc_name;
|
||||
++entry) {
|
||||
if (cipher->id == entry->openssl_id) {
|
||||
if (cipher == entry->openssl_id) {
|
||||
return entry->rfc_name;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user