Import of old SSLeay release: SSLeay 0.9.1b (unreleased)
This commit is contained in:
@@ -61,9 +61,9 @@
|
||||
#include "asn1_mac.h"
|
||||
|
||||
/*
|
||||
* ASN1err(ASN1_F_D2I_X509_ALGOR,ASN1_R_LENGTH_MISMATCH);
|
||||
* ASN1err(ASN1_F_X509_ALGOR_NEW,ASN1_R_EXPECTING_A_SEQUENCE);
|
||||
* ASN1err(ASN1_F_D2I_X509_ALGOR,ASN1_R_LENGTH_MISMATCH);
|
||||
* ASN1err(ASN1_F_D2I_X509_ALGOR,ERR_R_ASN1_LENGTH_MISMATCH);
|
||||
* ASN1err(ASN1_F_X509_ALGOR_NEW,ERR_R_EXPECTING_AN_ASN1_SEQUENCE);
|
||||
* ASN1err(ASN1_F_D2I_X509_ALGOR,ERR_R_ASN1_LENGTH_MISMATCH);
|
||||
*/
|
||||
|
||||
int i2d_X509_ALGOR(a,pp)
|
||||
@@ -107,9 +107,10 @@ long length;
|
||||
X509_ALGOR *X509_ALGOR_new()
|
||||
{
|
||||
X509_ALGOR *ret=NULL;
|
||||
ASN1_CTX c;
|
||||
|
||||
M_ASN1_New_Malloc(ret,X509_ALGOR);
|
||||
M_ASN1_New(ret->algorithm,ASN1_OBJECT_new);
|
||||
ret->algorithm=OBJ_nid2obj(NID_undef);
|
||||
ret->parameter=NULL;
|
||||
return(ret);
|
||||
M_ASN1_New_Error(ASN1_F_X509_ALGOR_NEW);
|
||||
|
Reference in New Issue
Block a user