aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/pubkey/dl_group/dl_group.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/pubkey/dl_group/dl_group.h b/src/lib/pubkey/dl_group/dl_group.h
index 9f3e806e2..98ce7a7ad 100644
--- a/src/lib/pubkey/dl_group/dl_group.h
+++ b/src/lib/pubkey/dl_group/dl_group.h
@@ -311,8 +311,10 @@ class BOTAN_PUBLIC_API(2,0) DL_Group final
* Decode a DER/BER encoded group into this instance.
* @param ber a vector containing the DER/BER encoded group
* @param format the format of the encoded group
+ *
+ * @warning avoid this. Instead use the DL_Group constructor
*/
- void BOTAN_DEPRECATED("Use DL_Group constructor") BER_decode(const std::vector<uint8_t>& ber, Format format);
+ void BER_decode(const std::vector<uint8_t>& ber, Format format);
/**
* Decode a PEM encoded group into this instance.