Enhance DH dup functions.
[openssl.git] / crypto / dh / dh_asn1.c
index 6de297f17e9b5a9493b1d0491f99f49715e8177b..96ea475c638b96043884185ca6fa53fd98bab5a5 100644 (file)
@@ -87,11 +87,6 @@ ASN1_SEQUENCE_cb(DHparams, dh_cb) = {
 
 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DH, DHparams, DHparams)
 
-DH *DHparams_dup(DH *dh)
-       {
-       return ASN1_item_dup(ASN1_ITEM_rptr(DHparams), dh);
-       }
-
 /* Internal only structures for handling X9.42 DH: this gets translated
  * to or from a DH structure straight away.
  */