summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/dh/dh_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/dh/dh_key.c b/src/lib/libcrypto/dh/dh_key.c
index ea17f54989..93b04f398f 100644
--- a/src/lib/libcrypto/dh/dh_key.c
+++ b/src/lib/libcrypto/dh/dh_key.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh_key.c,v 1.41 2024/05/09 20:40:42 tb Exp $ */ 1/* $OpenBSD: dh_key.c,v 1.42 2024/05/09 20:43:36 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -223,7 +223,7 @@ DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
223} 223}
224LCRYPTO_ALIAS(DH_compute_key); 224LCRYPTO_ALIAS(DH_compute_key);
225 225
226static DH_METHOD dh_ossl = { 226static const DH_METHOD dh_ossl = {
227 .name = "OpenSSL DH Method", 227 .name = "OpenSSL DH Method",
228 .generate_key = generate_key, 228 .generate_key = generate_key,
229 .compute_key = compute_key, 229 .compute_key = compute_key,