diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-30 18:44:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-30 18:44:37 +0000 |
commit | 87cd901cba20b2e4982b7ad18853476f8fc4cc37 (patch) | |
tree | d492637ff754294ab4bc09df8f2354eea8913276 | |
parent | 8136041a8001f0adf1e2178f3205033bb04a0036 (diff) | |
download | postgresql-87cd901cba20b2e4982b7ad18853476f8fc4cc37.tar.gz postgresql-87cd901cba20b2e4982b7ad18853476f8fc4cc37.zip |
Suppress compiler warnings.
-rw-r--r-- | contrib/sslinfo/sslinfo.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/sslinfo/sslinfo.c b/contrib/sslinfo/sslinfo.c index c843303ff0d..afaa7079af2 100644 --- a/contrib/sslinfo/sslinfo.c +++ b/contrib/sslinfo/sslinfo.c @@ -3,6 +3,8 @@ * * Written by Victor B. Wagner <vitus@cryptocom.ru>, Cryptocom LTD * This file is distributed under BSD-style license. + * + * $PostgreSQL: pgsql/contrib/sslinfo/sslinfo.c,v 1.4 2006/09/30 18:44:37 tgl Exp $ */ #include "postgres.h" @@ -113,7 +115,7 @@ Datum ASN1_STRING_to_text(ASN1_STRING *str) text *result; membuf = BIO_new(BIO_s_mem()); - BIO_set_close(membuf, BIO_CLOSE); + (void) BIO_set_close(membuf, BIO_CLOSE); ASN1_STRING_print_ex(membuf,str, ((ASN1_STRFLGS_RFC2253 & ~ASN1_STRFLGS_ESC_MSB) | ASN1_STRFLGS_UTF8_CONVERT)); @@ -271,7 +273,7 @@ Datum X509_NAME_to_text(X509_NAME *name) char *dp; text *result; - BIO_set_close(membuf, BIO_CLOSE); + (void) BIO_set_close(membuf, BIO_CLOSE); for (i=0; i<count; i++) { e = X509_NAME_get_entry(name, i); |