Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
Submitted by: Reviewed by: PR:
This commit is contained in:
parent
1dc03ef706
commit
365c6e4661
1 changed files with 1 additions and 2 deletions
|
@ -445,8 +445,7 @@ int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name)
|
|||
return(0);
|
||||
}
|
||||
|
||||
nid=OBJ_obj2nid(a);
|
||||
if ((nid == NID_undef) || no_name) {
|
||||
if (no_name || (nid=OBJ_obj2nid(a)) == NID_undef) {
|
||||
len=a->length;
|
||||
p=a->data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue