diff options
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa.h')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h index b4d7c1ff0f..6ddd4c35d5 100644 --- a/src/lib/libcrypto/dsa/dsa.h +++ b/src/lib/libcrypto/dsa/dsa.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa.h,v 1.21 2016/06/30 02:02:06 bcook Exp $ */ | 1 | /* $OpenBSD: dsa.h,v 1.22 2016/11/04 18:35:30 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -173,13 +173,10 @@ struct dsa_st | |||
173 | ENGINE *engine; | 173 | ENGINE *engine; |
174 | }; | 174 | }; |
175 | 175 | ||
176 | #define d2i_DSAparams_fp(fp,x) (DSA *)ASN1_d2i_fp((char *(*)())DSA_new, \ | 176 | DSA *d2i_DSAparams_bio(BIO *bp, DSA **a); |
177 | (char *(*)())d2i_DSAparams,(fp),(unsigned char **)(x)) | 177 | int i2d_DSAparams_bio(BIO *bp, DSA *a); |
178 | #define i2d_DSAparams_fp(fp,x) ASN1_i2d_fp(i2d_DSAparams,(fp), \ | 178 | DSA *d2i_DSAparams_fp(FILE *fp, DSA **a); |
179 | (unsigned char *)(x)) | 179 | int i2d_DSAparams_fp(FILE *fp, DSA *a); |
180 | #define d2i_DSAparams_bio(bp,x) ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAparams,bp,x) | ||
181 | #define i2d_DSAparams_bio(bp,x) ASN1_i2d_bio_of_const(DSA,i2d_DSAparams,bp,x) | ||
182 | |||
183 | 180 | ||
184 | DSA *DSAparams_dup(DSA *x); | 181 | DSA *DSAparams_dup(DSA *x); |
185 | DSA_SIG * DSA_SIG_new(void); | 182 | DSA_SIG * DSA_SIG_new(void); |