Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit945083b

Browse files
committed
Fix return value and const declaration from commit978f869
This fixes the non-OpenSSL compile case.Reported-by: buildfarm member sifakaBackpatch-through: master
1 parent978f869 commit945083b

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-
staticcipher_failure(void);
22+
staticvoidcipher_failure(void);
2323

2424
PgCipherCtx*
2525
pg_cipher_ctx_create(intcipher,uint8*key,intklen,boolenc)
@@ -46,12 +46,12 @@ bool
4646
pg_cipher_decrypt(PgCipherCtx*ctx,constunsignedchar*ciphertext,
4747
constintinlen,unsignedchar*plaintext,int*outlen,
4848
constunsignedchar*iv,constintivlen,
49-
constunsignedchar*intag,constinttaglen)
49+
unsignedchar*intag,constinttaglen)
5050
{
5151
cipher_failure();
5252
}
5353

54-
static
54+
staticvoid
5555
cipher_failure(void)
5656
{
5757
#ifndefFRONTEND

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp