@@ -141,7 +141,7 @@ ASN1_STRING_to_text(ASN1_STRING *str)
141141if (membuf == NULL )
142142ereport (ERROR ,
143143(errcode (ERRCODE_OUT_OF_MEMORY ),
144- errmsg ("failed to create OpenSSL BIO structure" )));
144+ errmsg ("could not create OpenSSL BIO structure" )));
145145(void )BIO_set_close (membuf ,BIO_CLOSE );
146146ASN1_STRING_print_ex (membuf ,str ,
147147 ((ASN1_STRFLGS_RFC2253 & ~ASN1_STRFLGS_ESC_MSB )
@@ -155,7 +155,7 @@ ASN1_STRING_to_text(ASN1_STRING *str)
155155if (dp != sp )
156156pfree (dp );
157157if (BIO_free (membuf )!= 1 )
158- elog (ERROR ,"failed to free OpenSSL BIO structure" );
158+ elog (ERROR ,"could not free OpenSSL BIO structure" );
159159
160160PG_RETURN_TEXT_P (result );
161161}
@@ -297,7 +297,7 @@ X509_NAME_to_text(X509_NAME *name)
297297if (membuf == NULL )
298298ereport (ERROR ,
299299(errcode (ERRCODE_OUT_OF_MEMORY ),
300- errmsg ("failed to create BIO" )));
300+ errmsg ("could not createOpenSSL BIO structure " )));
301301
302302(void )BIO_set_close (membuf ,BIO_CLOSE );
303303for (i = 0 ;i < count ;i ++ )
@@ -307,15 +307,15 @@ X509_NAME_to_text(X509_NAME *name)
307307if (nid == NID_undef )
308308ereport (ERROR ,
309309(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
310- errmsg ("failed to get NID for ASN1_OBJECT object" )));
310+ errmsg ("could not get NID for ASN1_OBJECT object" )));
311311v = X509_NAME_ENTRY_get_data (e );
312312field_name = OBJ_nid2sn (nid );
313313if (field_name == NULL )
314314field_name = OBJ_nid2ln (nid );
315315if (field_name == NULL )
316316ereport (ERROR ,
317317(errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
318- errmsg ("failed to convert NID %d to an ASN1_OBJECT structure" ,nid )));
318+ errmsg ("could not convert NID %d to an ASN1_OBJECT structure" ,nid )));
319319BIO_printf (membuf ,"/%s=" ,field_name );
320320ASN1_STRING_print_ex (membuf ,v ,
321321 ((ASN1_STRFLGS_RFC2253 & ~ASN1_STRFLGS_ESC_MSB )
@@ -331,7 +331,7 @@ X509_NAME_to_text(X509_NAME *name)
331331if (dp != sp )
332332pfree (dp );
333333if (BIO_free (membuf )!= 1 )
334- elog (ERROR ,"failed to free OpenSSL BIO structure" );
334+ elog (ERROR ,"could not free OpenSSL BIO structure" );
335335
336336PG_RETURN_TEXT_P (result );
337337}