summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_x931p.c
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-01-21 16:37:26 +0100
committerTomas Mraz <tomas@openssl.org>2021-01-25 10:20:48 +0100
commitc27e7922211ac4f7aee5573f605c3b3cbef0d0bc (patch)
tree19a4376c5ce7743f00fab58e894d2692e3da9fdd /crypto/bn/bn_x931p.c
parentc9603dfa42d0643a6c8cac3e14364d9fd63303c4 (diff)
bn: Deprecate the X9.31 RSA key generation related functions
This key generation method is obsolete. Fixes #10111 Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13921)
Diffstat (limited to 'crypto/bn/bn_x931p.c')
-rw-r--r--crypto/bn/bn_x931p.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bn/bn_x931p.c b/crypto/bn/bn_x931p.c
index bca7c9788e..c7ecdd23c8 100644
--- a/crypto/bn/bn_x931p.c
+++ b/crypto/bn/bn_x931p.c
@@ -7,6 +7,8 @@
* https://www.openssl.org/source/license.html
*/
+#define OPENSSL_SUPPRESS_DEPRECATED
+
#include <stdio.h>
#include <openssl/bn.h>
#include "bn_local.h"