mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
This commit is contained in:
parent
151457ab16
commit
d5d007abe3
@ -445,8 +445,7 @@ int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name)
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
nid=OBJ_obj2nid(a);
|
if (no_name || (nid=OBJ_obj2nid(a)) == NID_undef) {
|
||||||
if ((nid == NID_undef) || no_name) {
|
|
||||||
len=a->length;
|
len=a->length;
|
||||||
p=a->data;
|
p=a->data;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user