Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 87cd901

Browse files
committed
Suppress compiler warnings.
1 parent 8136041 commit 87cd901

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

contrib/sslinfo/sslinfo.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*
44
* Written by Victor B. Wagner <vitus@cryptocom.ru>, Cryptocom LTD
55
* This file is distributed under BSD-style license.
6+
*
7+
* $PostgreSQL: pgsql/contrib/sslinfo/sslinfo.c,v 1.4 2006/09/30 18:44:37 tgl Exp $
68
*/
79

810
#include "postgres.h"
@@ -113,7 +115,7 @@ Datum ASN1_STRING_to_text(ASN1_STRING *str)
113115
text *result;
114116

115117
membuf = BIO_new(BIO_s_mem());
116-
BIO_set_close(membuf, BIO_CLOSE);
118+
(void) BIO_set_close(membuf, BIO_CLOSE);
117119
ASN1_STRING_print_ex(membuf,str,
118120
((ASN1_STRFLGS_RFC2253 & ~ASN1_STRFLGS_ESC_MSB)
119121
| ASN1_STRFLGS_UTF8_CONVERT));
@@ -271,7 +273,7 @@ Datum X509_NAME_to_text(X509_NAME *name)
271273
char *dp;
272274
text *result;
273275

274-
BIO_set_close(membuf, BIO_CLOSE);
276+
(void) BIO_set_close(membuf, BIO_CLOSE);
275277
for (i=0; i<count; i++)
276278
{
277279
e = X509_NAME_get_entry(name, i);

0 commit comments

Comments
 (0)