]> granicus.if.org Git - postgresql/blobdiff - contrib/sslinfo/sslinfo.c
Adjust blank lines around PG_MODULE_MAGIC defines, for consistency
[postgresql] / contrib / sslinfo / sslinfo.c
index 90c6b57c699a280b63e0f6e43325834668580521..641c3f0c845641f3dcc31e0bf4b9b7f765d97b96 100644 (file)
 #include <openssl/x509.h>
 #include <openssl/asn1.h>
 
-
 PG_MODULE_MAGIC;
 
-
-Datum          ssl_is_used(PG_FUNCTION_ARGS);
-Datum          ssl_version(PG_FUNCTION_ARGS);
-Datum          ssl_cipher(PG_FUNCTION_ARGS);
-Datum          ssl_client_cert_present(PG_FUNCTION_ARGS);
-Datum          ssl_client_serial(PG_FUNCTION_ARGS);
-Datum          ssl_client_dn_field(PG_FUNCTION_ARGS);
-Datum          ssl_issuer_field(PG_FUNCTION_ARGS);
-Datum          ssl_client_dn(PG_FUNCTION_ARGS);
-Datum          ssl_issuer_dn(PG_FUNCTION_ARGS);
-
 static Datum X509_NAME_field_to_text(X509_NAME *name, text *fieldName);
 static Datum X509_NAME_to_text(X509_NAME *name);
 static Datum ASN1_STRING_to_text(ASN1_STRING *str);
@@ -133,7 +121,7 @@ ssl_client_serial(PG_FUNCTION_ARGS)
  * current database encoding if possible.  Any invalid characters are
  * replaced by question marks.
  *
- * Parameter: str - OpenSSL ASN1_STRING structure.     Memory management
+ * Parameter: str - OpenSSL ASN1_STRING structure.  Memory management
  * of this structure is responsibility of caller.
  *
  * Returns Datum, which can be directly returned from a C language SQL