diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2016-02-17 17:04:47 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-02-17 17:04:47 -0500 |
commit | 3ba84717a0ac76785935efcca50ab80e1e2f5564 (patch) | |
tree | 21d4a0fc727df2c3af38f739057076bdbea1ba3a /ssl | |
parent | 4277cf909103efff5773fdfa072f05dccb769c5b (diff) |
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/record/ssl3_record.c | 4 | ||||
-rw-r--r-- | ssl/statem/statem_dtls.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ssl/record/ssl3_record.c b/ssl/record/ssl3_record.c index 919202a46e..d7e821d49e 100644 --- a/ssl/record/ssl3_record.c +++ b/ssl/record/ssl3_record.c @@ -678,9 +678,7 @@ int tls1_enc(SSL *s, int send) * we can't write into the input stream: Can this ever * happen?? (steve) */ - fprintf(stderr, - "%s:%d: rec->data != rec->input\n", - __FILE__, __LINE__); + fprintf(stderr, "tls1_enc(): rec->data != rec->input\n"); else if (RAND_bytes(rec->input, ivlen) <= 0) return -1; } diff --git a/ssl/statem/statem_dtls.c b/ssl/statem/statem_dtls.c index 765c8e1efc..09f5df1ec7 100644 --- a/ssl/statem/statem_dtls.c +++ b/ssl/statem/statem_dtls.c @@ -1022,7 +1022,7 @@ WORK_STATE dtls_wait_for_dry(SSL *s) int dtls1_read_failed(SSL *s, int code) { if (code > 0) { - fprintf(stderr, "invalid state reached %s:%d", __FILE__, __LINE__); + fprintf(stderr, "dtls1_read_failed(); invalid state reached\n"); return 1; } |