projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc03ef
)
Optimize: better shortcut evaluation ("Howard Chu" <hyc@highlandsun.com>).
author
Lutz Jänicke
<jaenicke@openssl.org>
Thu, 18 Apr 2002 11:53:35 +0000
(11:53 +0000)
committer
Lutz Jänicke
<jaenicke@openssl.org>
Thu, 18 Apr 2002 11:53:35 +0000
(11:53 +0000)
Submitted by:
Reviewed by:
PR:
crypto/objects/obj_dat.c
patch
|
blob
|
history
diff --git
a/crypto/objects/obj_dat.c
b/crypto/objects/obj_dat.c
index cf21ea337772f87e9dcb52f232442fa519350df9..8779ba7d1d4e1e167ceabc298eaa577964e811be 100644
(file)
--- a/
crypto/objects/obj_dat.c
+++ b/
crypto/objects/obj_dat.c
@@
-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;