summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_lib.c')
-rw-r--r--src/lib/libcrypto/dsa/dsa_lib.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_lib.c b/src/lib/libcrypto/dsa/dsa_lib.c
index 87994fe62b..ce67bddb8d 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.37 2022/08/31 13:28:39 tb Exp $ */ 1/* $OpenBSD: dsa_lib.c,v 1.38 2022/11/19 06:33:00 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 *
@@ -106,18 +106,18 @@ DSA_set_method(DSA *dsa, const DSA_METHOD *meth)
106 * NB: The caller is specifically setting a method, so it's not up to us 106 * NB: The caller is specifically setting a method, so it's not up to us
107 * to deal with which ENGINE it comes from. 107 * to deal with which ENGINE it comes from.
108 */ 108 */
109 const DSA_METHOD *mtmp; 109 const DSA_METHOD *mtmp;
110 mtmp = dsa->meth; 110 mtmp = dsa->meth;
111 if (mtmp->finish) 111 if (mtmp->finish)
112 mtmp->finish(dsa); 112 mtmp->finish(dsa);
113#ifndef OPENSSL_NO_ENGINE 113#ifndef OPENSSL_NO_ENGINE
114 ENGINE_finish(dsa->engine); 114 ENGINE_finish(dsa->engine);
115 dsa->engine = NULL; 115 dsa->engine = NULL;
116#endif 116#endif
117 dsa->meth = meth; 117 dsa->meth = meth;
118 if (meth->init) 118 if (meth->init)
119 meth->init(dsa); 119 meth->init(dsa);
120 return 1; 120 return 1;
121} 121}
122 122
123DSA * 123DSA *