File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
*
4
4
* Written by Victor B. Wagner <vitus@cryptocom.ru>, Cryptocom LTD
5
5
* 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 $
6
8
*/
7
9
8
10
#include "postgres.h"
@@ -113,7 +115,7 @@ Datum ASN1_STRING_to_text(ASN1_STRING *str)
113
115
text * result ;
114
116
115
117
membuf = BIO_new (BIO_s_mem ());
116
- BIO_set_close (membuf , BIO_CLOSE );
118
+ ( void ) BIO_set_close (membuf , BIO_CLOSE );
117
119
ASN1_STRING_print_ex (membuf ,str ,
118
120
((ASN1_STRFLGS_RFC2253 & ~ASN1_STRFLGS_ESC_MSB )
119
121
| ASN1_STRFLGS_UTF8_CONVERT ));
@@ -271,7 +273,7 @@ Datum X509_NAME_to_text(X509_NAME *name)
271
273
char * dp ;
272
274
text * result ;
273
275
274
- BIO_set_close (membuf , BIO_CLOSE );
276
+ ( void ) BIO_set_close (membuf , BIO_CLOSE );
275
277
for (i = 0 ; i < count ; i ++ )
276
278
{
277
279
e = X509_NAME_get_entry (name , i );
You can’t perform that action at this time.
0 commit comments