static void cipher_failure(void) pg_attribute_noreturn();
+
PgCipherCtx *
pg_cipher_ctx_create(int cipher, uint8 *key, int klen, bool enc)
{
cipher_failure();
+ return NULL; /* keep compiler quiet */
}
void
unsigned char *outtag, const int taglen)
{
cipher_failure();
+ return false; /* keep compiler quiet */
}
bool
unsigned char *intag, const int taglen)
{
cipher_failure();
+ return false; /* keep compiler quiet */
}
static void
{
#ifndef FRONTEND
ereport(ERROR,
- (errcode(ERRCODE_CONFIG_FILE_ERROR),
- (errmsg("cluster file encryption is not supported because OpenSSL is not supported by this build"),
- errhint("Compile with --with-openssl to use this feature."))));
+ (errcode(ERRCODE_CONFIG_FILE_ERROR),
+ (errmsg("cluster file encryption is not supported because OpenSSL is not supported by this build"),
+ errhint("Compile with --with-openssl to use this feature."))));
#else
fprintf(stderr, _("cluster file encryption is not supported because OpenSSL is not supported by this build"));
exit(1);
#endif
-}
-
+}