summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2024-12-05 19:29:08 +0000
committertb <>2024-12-05 19:29:08 +0000
commitde9aea9cc14b09138a727b6b042d5e7bb3e43151 (patch)
tree64628269cdd1cb1cd5750703492c590aaaf3d52d /src/lib
parentd8cd87f9c43489b12445c265b2e15c4c5b134586 (diff)
downloadopenbsd-de9aea9cc14b09138a727b6b042d5e7bb3e43151.tar.gz
openbsd-de9aea9cc14b09138a727b6b042d5e7bb3e43151.tar.bz2
openbsd-de9aea9cc14b09138a727b6b042d5e7bb3e43151.zip
Remove the undocumented DSA_is_prime() macro
It aliases BN_is_prime(), which was removed in April 2023. makes sense to miod
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/dsa/dsa.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h
index a0ef787a86..63e5cedb1c 100644
--- a/src/lib/libcrypto/dsa/dsa.h
+++ b/src/lib/libcrypto/dsa/dsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dsa.h,v 1.44 2024/03/02 09:33:14 tb Exp $ */ 1/* $OpenBSD: dsa.h,v 1.45 2024/12/05 19:29:08 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 *
@@ -183,8 +183,6 @@ int DSA_print_fp(FILE *bp, const DSA *x, int off);
183 * This is necessary for keys of size >= 3072. 183 * This is necessary for keys of size >= 3072.
184 */ 184 */
185#define DSS_prime_checks 64 185#define DSS_prime_checks 64
186#define DSA_is_prime(n, callback, cb_arg) \
187 BN_is_prime(n, DSS_prime_checks, callback, NULL, cb_arg)
188 186
189#ifndef OPENSSL_NO_DH 187#ifndef OPENSSL_NO_DH
190/* Convert DSA structure (key or just parameters) into DH structure 188/* Convert DSA structure (key or just parameters) into DH structure