aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/controldata_utils.c2
-rw-r--r--src/common/protocol_openssl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/controldata_utils.c b/src/common/controldata_utils.c
index 66168543a6e..2d1f35bbd18 100644
--- a/src/common/controldata_utils.c
+++ b/src/common/controldata_utils.c
@@ -57,7 +57,7 @@ get_controlfile(const char *DataDir, bool *crc_ok_p)
pg_crc32c crc;
int r;
- AssertArg(crc_ok_p);
+ Assert(crc_ok_p);
ControlFile = palloc_object(ControlFileData);
snprintf(ControlFilePath, MAXPGPATH, "%s/global/pg_control", DataDir);
diff --git a/src/common/protocol_openssl.c b/src/common/protocol_openssl.c
index 8d1da8be387..d8bae488a8d 100644
--- a/src/common/protocol_openssl.c
+++ b/src/common/protocol_openssl.c
@@ -81,7 +81,7 @@ SSL_CTX_set_max_proto_version(SSL_CTX *ctx, int version)
{
int ssl_options = 0;
- AssertArg(version != 0);
+ Assert(version != 0);
/*
* Some OpenSSL versions define TLS*_VERSION macros but not the