artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5e89b3
)
Make the DH_METHOD static const
author
tb
<tb@openbsd.org>
Thu, 9 May 2024 20:43:36 +0000
(20:43 +0000)
committer
tb
<tb@openbsd.org>
Thu, 9 May 2024 20:43:36 +0000
(20:43 +0000)
lib/libcrypto/dh/dh_key.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/dh/dh_key.c
b/lib/libcrypto/dh/dh_key.c
index
ea17f54
..
93b04f3
100644
(file)
--- a/
lib/libcrypto/dh/dh_key.c
+++ b/
lib/libcrypto/dh/dh_key.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dh_key.c,v 1.4
1 2024/05/09 20:40:42
tb Exp $ */
+/* $OpenBSD: dh_key.c,v 1.4
2 2024/05/09 20:43:36
tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-223,7
+223,7
@@
DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
}
LCRYPTO_ALIAS(DH_compute_key);
-static DH_METHOD dh_ossl = {
+static
const
DH_METHOD dh_ossl = {
.name = "OpenSSL DH Method",
.generate_key = generate_key,
.compute_key = compute_key,