summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/i2d_s_pr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/i2d_s_pr.c')
-rw-r--r--src/lib/libcrypto/asn1/i2d_s_pr.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/lib/libcrypto/asn1/i2d_s_pr.c b/src/lib/libcrypto/asn1/i2d_s_pr.c
index 6e95305548..5d3dcdf197 100644
--- a/src/lib/libcrypto/asn1/i2d_s_pr.c
+++ b/src/lib/libcrypto/asn1/i2d_s_pr.c
@@ -56,20 +56,15 @@
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 "dsa.h" 63#include <openssl/dsa.h>
63#include "objects.h" 64#include <openssl/objects.h>
64#include "asn1_mac.h" 65#include <openssl/asn1_mac.h>
65 66
66/* 67int i2d_DSAPrivateKey(DSA *a, unsigned char **pp)
67 * ASN1err(ASN1_F_I2D_DSAPRIVATEKEY,ASN1_R_UNKNOWN_ATTRIBUTE_TYPE);
68 */
69
70int i2d_DSAPrivateKey(a,pp)
71DSA *a;
72unsigned char **pp;
73 { 68 {
74 BIGNUM *num[6]; 69 BIGNUM *num[6];
75 unsigned char data[1]; 70 unsigned char data[1];
@@ -125,4 +120,4 @@ unsigned char **pp;
125 *pp=p; 120 *pp=p;
126 return(t); 121 return(t);
127 } 122 }
128 123#endif