summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/i2d_dsap.c
diff options
context:
space:
mode:
authorbeck <>1999-09-29 04:37:45 +0000
committerbeck <>1999-09-29 04:37:45 +0000
commitde8f24ea083384bb66b32ec105dc4743c5663cdf (patch)
tree1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/asn1/i2d_dsap.c
parentcb929d29896bcb87c2a97417fbd03e50078fc178 (diff)
downloadopenbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip
OpenSSL 0.9.4 merge
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