提交 4db73c1b 编写于 作者: G Geoff Thorpe

(A version of) gcc had been giving somewhat odd "trigraph" warnings about

this construct, and Ulf provided the following insight as to why;

> ANSI C compliant compilers must substitute "??)" for "]" because your
> terminal might not have a "]" key if you bought it in the early 1970s.

So we escape the final '?' to avoid this pathological case.
上级 3ae34e3a
...@@ -1001,7 +1001,7 @@ char *SSL_CIPHER_description(SSL_CIPHER *cipher, char *buf, int len) ...@@ -1001,7 +1001,7 @@ char *SSL_CIPHER_description(SSL_CIPHER *cipher, char *buf, int len)
case 128: enc="AES(128)"; break; case 128: enc="AES(128)"; break;
case 192: enc="AES(192)"; break; case 192: enc="AES(192)"; break;
case 256: enc="AES(256)"; break; case 256: enc="AES(256)"; break;
default: enc="AES(???)"; break; default: enc="AES(??\?)"; break;
} }
break; break;
default: default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册