x_name.c (194206) | x_name.c (237657) |
---|---|
1/* crypto/asn1/x_name.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 182 unchanged lines hidden (view full) --- 191 } 192 sk_X509_NAME_ENTRY_free(entries); 193 } 194 sk_free(intname.s); 195 nm.x->modified = 0; 196 *val = nm.a; 197 *in = p; 198 return ret; | 1/* crypto/asn1/x_name.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 182 unchanged lines hidden (view full) --- 191 } 192 sk_X509_NAME_ENTRY_free(entries); 193 } 194 sk_free(intname.s); 195 nm.x->modified = 0; 196 *val = nm.a; 197 *in = p; 198 return ret; |
199 err: | 199err: 200 if (nm.x != NULL) 201 X509_NAME_free(nm.x); |
200 ASN1err(ASN1_F_X509_NAME_EX_D2I, ERR_R_NESTED_ASN1_ERROR); 201 return 0; 202} 203 204static int x509_name_ex_i2d(ASN1_VALUE **val, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) 205{ 206 int ret; 207 X509_NAME *a = (X509_NAME *)*val; --- 68 unchanged lines hidden --- | 202 ASN1err(ASN1_F_X509_NAME_EX_D2I, ERR_R_NESTED_ASN1_ERROR); 203 return 0; 204} 205 206static int x509_name_ex_i2d(ASN1_VALUE **val, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) 207{ 208 int ret; 209 X509_NAME *a = (X509_NAME *)*val; --- 68 unchanged lines hidden --- |