artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c094804
)
Lose a few extra lines in X509_EXTENSION_set_object()
author
tb
<tb@openbsd.org>
Fri, 12 Jul 2024 09:33:05 +0000
(09:33 +0000)
committer
tb
<tb@openbsd.org>
Fri, 12 Jul 2024 09:33:05 +0000
(09:33 +0000)
ok jsing
lib/libcrypto/x509/x509_v3.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/x509/x509_v3.c
b/lib/libcrypto/x509/x509_v3.c
index
99d26f3
..
5ae8fab
100644
(file)
--- a/
lib/libcrypto/x509/x509_v3.c
+++ b/
lib/libcrypto/x509/x509_v3.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: x509_v3.c,v 1.3
6 2024/07/12 09:31:28
tb Exp $ */
+/* $OpenBSD: x509_v3.c,v 1.3
7 2024/07/12 09:33:05
tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-239,9
+239,7
@@
X509_EXTENSION_set_object(X509_EXTENSION *ext, const ASN1_OBJECT *obj)
return 0;
ASN1_OBJECT_free(ext->object);
- ext->object = OBJ_dup(obj);
-
- return ext->object != NULL;
+ return (ext->object = OBJ_dup(obj)) != NULL;
}
LCRYPTO_ALIAS(X509_EXTENSION_set_object);