summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/dsa')
-rw-r--r--src/lib/libcrypto/dsa/dsa_lib.c4
-rw-r--r--src/lib/libcrypto/dsa/dsa_local.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_lib.c b/src/lib/libcrypto/dsa/dsa_lib.c
index 5c01c20255..65eb65288d 100644
--- a/src/lib/libcrypto/dsa/dsa_lib.c
+++ b/src/lib/libcrypto/dsa/dsa_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dsa_lib.c,v 1.45 2023/11/19 15:46:09 tb Exp $ */ 1/* $OpenBSD: dsa_lib.c,v 1.46 2023/11/29 21:35:57 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 *
@@ -397,7 +397,7 @@ LCRYPTO_ALIAS(DSA_set_flags);
397ENGINE * 397ENGINE *
398DSA_get0_engine(DSA *d) 398DSA_get0_engine(DSA *d)
399{ 399{
400 return d->engine; 400 return NULL;
401} 401}
402LCRYPTO_ALIAS(DSA_get0_engine); 402LCRYPTO_ALIAS(DSA_get0_engine);
403 403
diff --git a/src/lib/libcrypto/dsa/dsa_local.h b/src/lib/libcrypto/dsa/dsa_local.h
index a413db9747..3e688b8ce6 100644
--- a/src/lib/libcrypto/dsa/dsa_local.h
+++ b/src/lib/libcrypto/dsa/dsa_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dsa_local.h,v 1.2 2023/03/04 20:54:52 tb Exp $ */ 1/* $OpenBSD: dsa_local.h,v 1.3 2023/11/29 21:35:57 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2007 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2007 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -106,8 +106,6 @@ struct dsa_st {
106 int references; 106 int references;
107 CRYPTO_EX_DATA ex_data; 107 CRYPTO_EX_DATA ex_data;
108 const DSA_METHOD *meth; 108 const DSA_METHOD *meth;
109 /* functional reference if 'meth' is ENGINE-provided */
110 ENGINE *engine;
111} /* DSA */; 109} /* DSA */;
112 110
113int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, 111int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits,