fixed segmentation fault

This commit is contained in:
tdoe 2018-05-18 13:09:12 +02:00
parent c150f0d050
commit 020c823f62

View file

@ -85,6 +85,9 @@ static const x509_attr_descriptor_t *x509_at_oid_from_name( const char *name, si
strncmp( cur->name, name, name_len ) == 0 )
break;
if ( cur->name == NULL )
return( NULL );
return( cur );
}