artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
890b8b5
)
Drop a superfluous isneg check.
author
tb
<tb@openbsd.org>
Sun, 23 Apr 2023 11:39:56 +0000
(11:39 +0000)
committer
tb
<tb@openbsd.org>
Sun, 23 Apr 2023 11:39:56 +0000
(11:39 +0000)
lib/libcrypto/x509/x509_utl.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/x509/x509_utl.c
b/lib/libcrypto/x509/x509_utl.c
index
51c3135
..
411b040
100644
(file)
--- a/
lib/libcrypto/x509/x509_utl.c
+++ b/
lib/libcrypto/x509/x509_utl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: x509_utl.c,v 1.1
2 2023/04/23 11:34:57
tb Exp $ */
+/* $OpenBSD: x509_utl.c,v 1.1
3 2023/04/23 11:39:56
tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@
-273,7
+273,7
@@
s2i_ASN1_INTEGER(X509V3_EXT_METHOD *method, const char *value)
return NULL;
}
- if (
isneg &&
BN_is_zero(bn))
+ if (BN_is_zero(bn))
isneg = 0;
aint = BN_to_ASN1_INTEGER(bn, NULL);