- {
- thisext->which = Z_External_single;
- thisext->u.single_ASN1_type = (Odr_any *)odr_malloc(o, sizeof(Odr_any));
- if ( ! thisext->u.single_ASN1_type )
- return 0;
- thisext->u.single_ASN1_type->buf = (unsigned char *)odr_malloc(o, len);
- if ( ! thisext->u.single_ASN1_type->buf )
- return 0;
- memcpy(thisext->u.single_ASN1_type->buf, buf, len);
- thisext->u.single_ASN1_type->len = thisext->u.single_ASN1_type->size = len;
- }
+ thisext->which = Z_External_single;
+ thisext->u.single_ASN1_type = (Odr_any *) odr_malloc(o, sizeof(Odr_any));
+ if (!thisext->u.single_ASN1_type)
+ return 0;
+ thisext->u.single_ASN1_type->buf = (unsigned char *) odr_malloc(o, len);
+ if (!thisext->u.single_ASN1_type->buf)
+ return 0;
+ memcpy(thisext->u.single_ASN1_type->buf, buf, len);
+ thisext->u.single_ASN1_type->len = thisext->u.single_ASN1_type->size = len;
+