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

Commit1fb2308

Browse files
committed
Remove obsolete unconstify()
This is no longer needed as of OpenSSL 1.1.0 (the current minimumversion). LibreSSL made the same change around the same time as well.Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://www.postgresql.org/message-id/20463f79-a7b0-4bba-a178-d805f99c02f9%40eisentraut.org
1 parent0785d1b commit1fb2308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/libpq/be-secure-openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ load_dh_buffer(const char *buffer, size_t len)
10751075
BIO*bio;
10761076
DH*dh=NULL;
10771077

1078-
bio=BIO_new_mem_buf(unconstify(char*,buffer),len);
1078+
bio=BIO_new_mem_buf(buffer,len);
10791079
if (bio==NULL)
10801080
returnNULL;
10811081
dh=PEM_read_bio_DHparams(bio,NULL,NULL,NULL);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp