projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Treat boolean functions as booleans
[openssl.git]
/
crypto
/
ct
/
ct_prn.c
diff --git
a/crypto/ct/ct_prn.c
b/crypto/ct/ct_prn.c
index 3983c3cb3b1c49cd9c13497e7bd1f6b92ddc9b4d..bb669d577a53d6f567b9b22b46124fdff4faace1 100644
(file)
--- a/
crypto/ct/ct_prn.c
+++ b/
crypto/ct/ct_prn.c
@@
-69,7
+69,7
@@
static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
{
int nid = SCT_get_signature_nid(sct);
- if (nid
<= 0
)
+ if (nid
== NID_undef
)
BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg);
else
BIO_printf(out, "%s", OBJ_nid2ln(nid));