提交 a32d795a 编写于 作者: B Bodo Möller

avoid everything resembling a magic trigraph

上级 ef3dc028
/* -*- Mode: C; c-file-style: "bsd" -*- */ /* -*- Mode: C; c-file-style: "bsd" -*- */
/* /*
* easy-tls.c -- generic TLS proxy. * easy-tls.c -- generic TLS proxy.
* $Id: easy-tls.c,v 1.1 2001/09/17 19:06:57 bodo Exp $ * $Id: easy-tls.c,v 1.2 2001/09/24 07:54:09 bodo Exp $
*/ */
/* /*
(c) Copyright 1999 Bodo Moeller. All rights reserved. (c) Copyright 1999 Bodo Moeller. All rights reserved.
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
*/ */
static char const rcsid[] = static char const rcsid[] =
"$Id: easy-tls.c,v 1.1 2001/09/17 19:06:57 bodo Exp $"; "$Id: easy-tls.c,v 1.2 2001/09/24 07:54:09 bodo Exp $";
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
...@@ -362,7 +362,7 @@ tls_openssl_errors(const char *app_prefix_1, const char *app_prefix_2, const cha ...@@ -362,7 +362,7 @@ tls_openssl_errors(const char *app_prefix_1, const char *app_prefix_2, const cha
assert(app_prefix_2 != NULL); assert(app_prefix_2 != NULL);
if (default_text == NULL) if (default_text == NULL)
default_text = "???"; default_text = "?""?""?";
while ((err = ERR_get_error_line_data(&file,&line,&data,&flags)) != 0) { while ((err = ERR_get_error_line_data(&file,&line,&data,&flags)) != 0) {
if (reasons_i < sizeof reasons) { if (reasons_i < sizeof reasons) {
......
...@@ -521,7 +521,7 @@ main_loop: ...@@ -521,7 +521,7 @@ main_loop:
fprintf(stderr, "selector_select returned a badness error.\n"); fprintf(stderr, "selector_select returned a badness error.\n");
goto shouldnt_happen; goto shouldnt_happen;
case 0: case 0:
fprintf(stderr, "Warn, selector_select returned 0 - signal??\n"); fprintf(stderr, "Warn, selector_select returned 0 - signal?""?\n");
goto main_loop; goto main_loop;
default: default:
break; break;
......
...@@ -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.
先完成此消息的编辑!
想要评论请 注册