projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OpenTLS ready
[openssl.git]
/
crypto
/
asn1
/
p7_dgst.c
diff --git
a/crypto/asn1/p7_dgst.c
b/crypto/asn1/p7_dgst.c
index 206c2a6bb3acf3f8ead31b7c0294dbe50bb53444..bf7b8e2f43ceb53503c28f6ec272d0fd6b350373 100644
(file)
--- a/
crypto/asn1/p7_dgst.c
+++ b/
crypto/asn1/p7_dgst.c
@@
-1,5
+1,5
@@
/* crypto/asn1/p7_dgst.c */
/* crypto/asn1/p7_dgst.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-62,8
+62,8
@@
#include "x509.h"
/*
#include "x509.h"
/*
- * ASN1err(ASN1_F_PKCS7_DIGEST_NEW,
ASN1_R_MISSING
_EOS);
- * ASN1err(ASN1_F_D2I_PKCS7_DIGEST,
ASN1_R
_LENGTH_MISMATCH);
+ * ASN1err(ASN1_F_PKCS7_DIGEST_NEW,
ERR_R_MISSING_ASN1
_EOS);
+ * ASN1err(ASN1_F_D2I_PKCS7_DIGEST,
ERR_R_ASN1
_LENGTH_MISMATCH);
*/
int i2d_PKCS7_DIGEST(a,pp)
*/
int i2d_PKCS7_DIGEST(a,pp)
@@
-107,6
+107,7
@@
long length;
PKCS7_DIGEST *PKCS7_DIGEST_new()
{
PKCS7_DIGEST *ret=NULL;
PKCS7_DIGEST *PKCS7_DIGEST_new()
{
PKCS7_DIGEST *ret=NULL;
+ ASN1_CTX c;
M_ASN1_New_Malloc(ret,PKCS7_DIGEST);
M_ASN1_New(ret->version,ASN1_INTEGER_new);
M_ASN1_New_Malloc(ret,PKCS7_DIGEST);
M_ASN1_New(ret->version,ASN1_INTEGER_new);