Commit 023ff171 authored by Bruce Momjian's avatar Bruce Momjian

Remove strerror output for openssl SYSCALL error check.

parent 8358302d
......@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.17 2002/12/12 22:42:39 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.18 2002/12/13 05:51:29 momjian Exp $
*
* Since the server static private key ($DataDir/server.key)
* will normally be stored unencrypted so that the database
......@@ -290,8 +290,6 @@ secure_read(Port *port, void *ptr, size_t len)
case SSL_ERROR_SYSCALL:
if (n == -1)
elog(ERROR, "SSL SYSCALL error: %s", strerror(errno));
else
strerror(errno));
break;
case SSL_ERROR_SSL:
elog(ERROR, "SSL error: %s", SSLerrmessage());
......@@ -342,8 +340,6 @@ secure_write(Port *port, const void *ptr, size_t len)
case SSL_ERROR_SYSCALL:
if (n == -1)
elog(ERROR, "SSL SYSCALL error: %s", strerror(errno));
else
strerror(errno));
break;
case SSL_ERROR_SSL:
elog(ERROR, "SSL error: %s", SSLerrmessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment