mirror of
https://github.com/postgres/postgres.git
synced 2026-02-12 23:33:27 -05:00
Fix return value and const declaration from commit 978f869b99
This fixes the non-OpenSSL compile case. Reported-by: buildfarm member sifaka Backpatch-through: master
This commit is contained in:
parent
978f869b99
commit
945083b2f7
1 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "common/cipher.h"
|
||||
|
||||
static cipher_failure(void);
|
||||
static void cipher_failure(void);
|
||||
|
||||
PgCipherCtx *
|
||||
pg_cipher_ctx_create(int cipher, uint8 *key, int klen, bool enc)
|
||||
|
|
@ -46,12 +46,12 @@ bool
|
|||
pg_cipher_decrypt(PgCipherCtx *ctx, const unsigned char *ciphertext,
|
||||
const int inlen, unsigned char *plaintext, int *outlen,
|
||||
const unsigned char *iv, const int ivlen,
|
||||
const unsigned char *intag, const int taglen)
|
||||
unsigned char *intag, const int taglen)
|
||||
{
|
||||
cipher_failure();
|
||||
}
|
||||
|
||||
static
|
||||
static void
|
||||
cipher_failure(void)
|
||||
{
|
||||
#ifndef FRONTEND
|
||||
|
|
|
|||
Loading…
Reference in a new issue