summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/i2d_dsap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/i2d_dsap.c')
-rw-r--r--src/lib/libcrypto/asn1/i2d_dsap.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/lib/libcrypto/asn1/i2d_dsap.c b/src/lib/libcrypto/asn1/i2d_dsap.c
index 94ecff1525..f36f0da4e2 100644
--- a/src/lib/libcrypto/asn1/i2d_dsap.c
+++ b/src/lib/libcrypto/asn1/i2d_dsap.c
@@ -56,19 +56,14 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#ifndef NO_DSA
59#include <stdio.h> 60#include <stdio.h>
60#include "cryptlib.h" 61#include "cryptlib.h"
61#include "bn.h" 62#include <openssl/bn.h>
62#include "asn1_mac.h" 63#include <openssl/asn1_mac.h>
63#include "dsa.h" 64#include <openssl/dsa.h>
64 65
65/* 66int i2d_DSAparams(DSA *a, unsigned char **pp)
66 * ASN1err(ASN1_F_D2I_DSAPARAMS,ASN1_R_LENGTH_MISMATCH);
67 */
68
69int i2d_DSAparams(a,pp)
70DSA *a;
71unsigned char **pp;
72 { 67 {
73 BIGNUM *num[3]; 68 BIGNUM *num[3];
74 ASN1_INTEGER bs; 69 ASN1_INTEGER bs;
@@ -118,4 +113,5 @@ err:
118 *pp=p; 113 *pp=p;
119 return(ret); 114 return(ret);
120 } 115 }
116#endif
121 117