Skip to content

Commit 945083b

Browse files
committed
Fix return value and const declaration from commit 978f869
This fixes the non-OpenSSL compile case. Reported-by: buildfarm member sifaka Backpatch-through: master
1 parent 978f869 commit 945083b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/common/cipher.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "common/cipher.h"
2121

22-
static cipher_failure(void);
22+
static void cipher_failure(void);
2323

2424
PgCipherCtx *
2525
pg_cipher_ctx_create(int cipher, uint8 *key, int klen, bool enc)
@@ -46,12 +46,12 @@ bool
4646
pg_cipher_decrypt(PgCipherCtx *ctx, const unsigned char *ciphertext,
4747
const int inlen, unsigned char *plaintext, int *outlen,
4848
const unsigned char *iv, const int ivlen,
49-
const unsigned char *intag, const int taglen)
49+
unsigned char *intag, const int taglen)
5050
{
5151
cipher_failure();
5252
}
5353

54-
static
54+
static void
5555
cipher_failure(void)
5656
{
5757
#ifndef FRONTEND

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy