diff options
author | beck <> | 1999-09-29 04:37:45 +0000 |
---|---|---|
committer | beck <> | 1999-09-29 04:37:45 +0000 |
commit | de8f24ea083384bb66b32ec105dc4743c5663cdf (patch) | |
tree | 1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/asn1/i2d_s_pr.c | |
parent | cb929d29896bcb87c2a97417fbd03e50078fc178 (diff) | |
download | openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2 openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip |
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/asn1/i2d_s_pr.c')
-rw-r--r-- | src/lib/libcrypto/asn1/i2d_s_pr.c | 19 |
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 | /* | 67 | int i2d_DSAPrivateKey(DSA *a, unsigned char **pp) |
67 | * ASN1err(ASN1_F_I2D_DSAPRIVATEKEY,ASN1_R_UNKNOWN_ATTRIBUTE_TYPE); | ||
68 | */ | ||
69 | |||
70 | int i2d_DSAPrivateKey(a,pp) | ||
71 | DSA *a; | ||
72 | unsigned 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 | |